lesson
30 min

Reading Numbers Honestly

Calculate conversion rates and avoid the most common ways people fool themselves with data.

What you will learn

Objective: By the end of this lesson, you can calculate a conversion rate and name two common mistakes in reading marketing data.

Conversion rate

A conversion rate is the share of people who took the action. The formula is:

conversion rate = conversions ÷ visitors × 100

If 200 people visit a sign-up page and 10 sign up, the conversion rate is 10 ÷ 200 × 100 = 5%.

Try it in Python

The code below runs real Python in your browser. The first run downloads the Python runtime (several MB), so use Wi-Fi if you are on limited phone data. Here is the code if you would rather read it:

visitors = 200
signups = 10
rate = signups / visitors * 100
print("Conversion rate:", rate, "%")
Run the code. Then change visitors and signups to compare two pages: Page A had 200 visitors and 10 sign-ups. Page B had 50 visitors and 4 sign-ups. Which page converts better?
Python 3
Ctrl+Enter to run | Tab to indent | Python runs in your browser via Pyodide

Page B converts at 8%, which is higher. But only 50 people saw it. That leads to the first mistake.

Mistake 1: Small numbers

With small numbers, a few people can swing the result. Four sign-ups out of 50 could easily be two next week. Wait until you have enough visitors before you declare a winner. A simple rule: do not decide on fewer than about 100 visitors per version unless you have no choice, and say so when you report.

Mistake 2: Mixing up cause and timing

Sign-ups jumped the same week you started a new ad. Did the ad cause it? Maybe. Or maybe school started, or a partner sent a newsletter. Ask: what else changed? Write it down in a simple log every week.

Mistake 3: Only showing good news

Report what did not work too. A team that hides failures repeats them.

Quiz: Check your math

  1. 01A page had 400 visitors and 20 sign-ups. What is the conversion rate?

    Choose one.

  2. 02Page A: 1,000 visitors, 30 sign-ups. Page B: 20 visitors, 2 sign-ups. What is the most honest conclusion?

    Choose one.

Go deeper: The Power of Web & Business Analytics: Turning Data Into Decisions

Ask. Answer. Build together.