virling Pricing Self-host Demo Changelog Agencies GitHub Start free trial
blog / 2026-11-24

Conversion rate by traffic source: formula and worked example

By Devendra Variya, co-founder of Virling. Published 2026-11-24.

Conversion rate by traffic source is the share of visitors from each source who became paying customers. Divide the customers credited to a source by the visitors it sent in the same period: 40 customers from 2,000 organic search visitors is 2%. It tells you how often each source sends buyers. It does not tell you how much they spend, so read it next to order value before you call a source good or bad.

This post is about the whole path, from a visit to a payment, for SaaS products and online stores. If you sell through a free trial and want only the last part, read trial-to-paid conversion by traffic source.

The formula

conversion rate of a source = paying customers from that source / visitors from that source × 100%

Four choices decide whether the rates can be compared:

  • What counts as a conversion. Here it is a payment. A report that counts signups, add-to-carts or form fills answers a different question and gives a much higher number. To check whether one such step leads to payment, see whether visitors who chat go on to pay, worked through for live chat.
  • Customers, not payments. A subscriber who paid three times in the range is one customer. Count only first payments for a subscription, or renewals will make an old channel look as if it still converts.
  • Who gets the credit. A buyer often visits from more than one source. Pick one rule, such as the latest visit that was not Direct, and use it for every source.
  • The same dates. Some people who visited last week will pay next week. If your buyers take two weeks, a 7-day range undercounts every source and punishes the slow ones most.

Add up the sources before you work out the total. The site rate is all customers divided by all visitors, not the average of the rates, since that would give a source with 50 visitors the same weight as one with 5,000. The conversion rate calculator does both from your numbers.

For SaaS and for stores

  • SaaS. Visit to paid is two rates multiplied: visit to trial, and trial to paid. A source can be strong at one and weak at the other, so when a rate looks wrong, find out which half it is. Leave the length of your trial off the end of the range.
  • Store. Buyers come back and order again. Decide whether you count new buyers or all buyers in the range. Email to past customers looks far better with all buyers, since it reaches people who already bought once. New vs returning customer revenue shows the same effect in money.

Sessions or visitors: the answer changes

A visitor is a person, or more exactly a browser. A session is one visit. Someone who opens three emails and buys on the third is one visitor and three sessions, so the same purchase is 100% by visitor and 33% by session.

If every source brought people back equally often, this would not matter, because all the rates would shrink together. They do not. Email, retargeting and social followers return many times, while many search visitors come once. Dividing by sessions lowers the rate of every source that brings people back, and can reverse the ranking, as it does in the example below.

Use visitors to judge a source, and say which you used whenever you share a number. Store reports and traffic tools often divide by sessions, so a session rate from one tool should not be put next to a visitor rate from another. Visitors are not perfect either: a person on a phone and a laptop counts twice (see cross-device attribution), and a person who came from two sources is a visitor of both, so the sources can add up to more than the site total.

Virling divides by unique visitors, not sessions: open Paid in its Goals list and each channel that brought a paying customer shows those customers as a share of its visitors.

Start free trial See the demo

A worked example

Example only: made-up numbers for an imaginary store, not results from a real business. One month, one order per customer, and nobody came from two sources:

SourceSessionsVisitorsCustomersRevenue
Email3,0001,00030$900
Organic search2,4002,00040$2,400
Referral9008008$2,560
All6,3003,80078$5,860

From those four columns:

SourceRate by sessionRate by visitorOrder valueRevenue per visitor
Email1.00%3.00%$30.00$0.90
Organic search1.67%2.00%$60.00$1.20
Referral0.89%1.00%$320.00$3.20
All1.24%2.05%$75.13$1.54
  • By session, organic search wins and email is well behind.
  • By visitor, email wins. Its readers visited three times each on average, and dividing by sessions counted that against it.
  • By money, referral wins with the lowest rate of the three. Its few buyers spent $320 each, so each referral visitor was worth more than three times an email visitor.

Why a low rate can still be a good channel

Conversion rate counts every buyer as one. Money does not:

revenue per visitor = conversion rate × average order value

For referral that is 1% × $320 = $3.20, and for email 3% × $30 = $0.90. Judged by rate alone you would cut the source that earns the most per visitor. To see what that means over a month, put a value on each channel's visitors from its rate and order value. What is revenue per visitor explains that number in full. It is the one to rank sources by, and conversion rate and average order value by source tell you why a source ranks where it does:

  • Low rate, high order value. Often fine. Send more of the same people before you try to raise the rate.
  • High rate, low order value. Check whether a discount is doing the selling, then try a bundle, a bigger plan or annual billing.
  • Low rate, low order value. The source or its landing page is a poor fit. Fix the page first, since that is cheaper to test. If most of its visitors are on phones, check revenue by device before you do.

For a subscription, the first payment is only the start. A source with a low rate whose customers stay two years can beat one that converts well and churns, so add LTV by acquisition channel before you move budget. For paid sources, subtract what the visitors cost.

How many visitors before a rate means anything

In the example, email converts at 3% and organic search at 2%. Put those two rows in the A/B test calculator as A and B and the p-value is about 0.087, so the gap is not significant at 95%. Email and referral, at 3% and 1%, give about 0.003, which is. A 95% interval (Wilson) around 8 customers from 800 visitors runs from about 0.5% to 2.0%.

Two cautions. A test like this says whether a gap is likely to be chance, not what caused it: visitors were not assigned to sources at random. And it covers the rate only. With 8 orders, one large one moves revenue per visitor a lot, so look at the orders themselves. When a source has a handful of customers, use a longer range before you decide.

How to read it in Virling

Virling joins each payment to the visits before it and counts unique visitors. A payment is credited to one visit by your attribution model, last non-direct with a 90-day lookback by default. See read your dashboard.

  1. Start with the Channels card. It lists visitors, revenue and revenue per visitor for every channel, with a chip that compares the row with your site average. Use the Source and Campaign tabs to see the site, post or campaign behind a channel. This is the ranking by money.
  2. Read the rate per channel. Open Goals at the top of the dashboard, switch to the Goals list and open Paid. It splits paying customers by credited channel, as a share of that channel's visitors. A channel with no paying customer is not listed. Customers who only renewed in the range are included, so for subscriptions use step 3.
  3. Read it for new customers, or for one source or campaign. Click a row on the Channels card to filter the page to it, then divide New customers by Visitors. Renewals are not new customers. A repeat order in a store is not a renewal, though, so to count only first-time buyers open Customers who stay, where Customers are those who first paid in the range.
  4. See where people drop off. In Goals, the Funnel starts at Visit and ends at Paid. The channel tabs above it limit it to one channel, and the headline gives the share of that channel's visitors who became paying customers.
  5. Check the wait. The Time to pay card shows the median time from first visit to first payment for each channel with at least three first payments. Pick a range several times longer than that.

Steps 2 and 4 can differ, because they count differently. The Goals list gives each payment to one channel by your attribution model. The funnel follows the visitor: anyone who visited from the channel in the range and paid afterwards counts, even when another channel gets the credit, and only payments that carry the visitor ID are seen. Use the first to compare channels and the second to find the weak step.

What to check if a rate looks wrong

  • Every rate is too low. Payments are not reaching their visits. The Matched revenue line under the five numbers gives the share matched and why the rest was not. See link checkout to visits.
  • Direct converts best. Some of it is people who found you elsewhere and came back. See why Direct is your biggest traffic source.
  • A source has customers and almost no visitors. Revenue counts on the payment date, so the visits may be from before the range. Use a longer one.
  • A source has many visitors and no customers. Check the time to pay first, then whether the visitors are the people you sell to.

Frequently asked questions

How do you calculate conversion rate by traffic source?

For one source and one date range, divide the visitors who became paying customers by all the visitors from that source, and multiply by 100. 40 customers from 2,000 organic search visitors is 2%. Use the same range and the same definition of a customer for every source.

Should I use sessions or visitors for conversion rate?

Visitors, if you want to know how many people buy. Sessions divide the same customers by a larger number, and most of all for channels that bring people back several times, such as email. Whichever you use, never compare a session rate with a visitor rate.

What is a good conversion rate by traffic source?

There is no figure that fits every business, because it depends on price, product, country and what counts as a conversion. Compare each source with your own average, over the same dates, and with what its customers spend.

Can a traffic source with a low conversion rate be a good one?

Yes. A source that converts half as often but brings orders four times as large earns twice as much per visitor. Read conversion rate next to average order value, or use revenue per visitor, which is the two multiplied.

Why do some traffic sources convert better than others?

Mostly intent. Someone who searched for a product or was recommended one is closer to buying than someone who clicked out of curiosity. The landing page, price shown, country, device and share of returning visitors also differ between sources.

Which channel gets the sale when a customer visited from several?

That depends on the attribution model. Last non-direct credits the latest visit that was not Direct, first touch the earliest one and last touch the latest one. Virling uses last non-direct by default, and you can change it in Site settings.

See the conversion rate of every channel from real payments

Virling is open source under AGPL. Self-host it free, or use the hosted version with a 14-day free trial. It connects to Stripe, Paddle, Shopify, WooCommerce, Polar, LemonSqueezy, Dodo, Creem and RevenueCat.

Start free trial See the demo