Conversion rate is a core metric for tracking the success of your users and getting insight into how to grow your user base. You can calculate the conversion rate between two events via a graph or a funnel.
Example #1: Calculate Conversion in a Graph
To calculate the conversion rate in a graph, navigate to Analyze > Graph, then select Conversion Rate Between from the graph drop-down.

As a Heap example, we may want to see the conversion rate between signing up and running a report, so we’ll graph these two events.
![A graph of Conversion Rate Between - Sign Up for Heap [Server] to Execute Query - Client for past 7 days](https://help.heap.io/wp-content/uploads/2020/04/conversion-rate-between-2-1024x501.png)
The results will show how this fluctuated throughout this week. Try using filters, group bys, and adjust the date range to see the conversion rate for different groups of users and time frames.
Note that granularity plays a large role in how the conversion rate is calculated. The user has a window of time to complete a set of two events in order to be included in the graph. If the granularity is a day the user has 24 hours to complete the second event. If the granularity is a week, the user has 7 days. If the granularity is a month, the user has 30 days. If a user completes both events, the user is counted as a conversion at the time they complete the second event.
Example #2: Calculate Conversion in a Funnel
To calculate the conversion rate in a graph, navigate to Analyze > Funnel, then select the two events you wish to see the conversion rate between.
![A funnel of Conversion Rate Between - Sign Up for Heap [Server] to Execute Query - Client for past 7 days](https://help.heap.io/wp-content/uploads/2020/04/conversion-rate-between3.png)
The results of this query will give you the conversion rate. Just like with the graph, you can add filters and group bys to further refine your query, or adjust the date range to see the conversion rates for a specific window.
To learn how to use funnels to see how long conversion typically takes, see See how long it takes users to convert.