Revenue per Visitor Formula: Test Offers on RPV

Revenue per visitor formula illustration of a ledger comparing control RPV of $4.20 with a variant RPV of $4.62, while conversion rate falls.

Conversion rate tells you whether more people bought. It does not tell you whether the store made more money. For offer, shipping, bundle and merchandising tests, the number you usually want is revenue per visitor. This post gives you the revenue per visitor formula, shows why it beats conversion rate for those tests, and walks through how to judge revenue per visitor statistical significance when the data are skewed.

customfit.ai already has a definition-led guide to revenue per visitor (RPV). This article is the testing companion: the formula, a revenue per visitor calculator you can do in a spreadsheet, and a worked rpv ab testing example where conversion falls and revenue rises.

People also search for revenue per visit. In this article that phrase means the same thing as revenue per visitor, unless your tool is actually counting sessions instead of people. If it is, say so in the report and keep the unit consistent with assignment.

The Revenue per Visitor Formula

The revenue per visitor formula is simple:

RPV = total revenue in the group / number of visitors in the group

You can also write it as conversion rate times average order value, as long as both pieces use the same visitor base. If 40,000 visitors produce 1,560 orders and $168,000 in revenue, conversion rate is 3.90%, average order value is $107.69, and RPV is $4.20.

Do not compute average order value and then treat it as the decision metric. Average order value ignores everyone who did not buy. A variant can raise average order value by scaring off small orders, and still lose money. RPV keeps the people who bought nothing in the denominator, which is what you want in rpv ab testing.

A revenue per visitor calculator in a spreadsheet only needs four cells per variant: visitors, orders, revenue and, if you have it, cost of goods. From those you can get RPV, conversion rate, average order value and margin per visitor. The hard part is not the arithmetic. It is choosing RPV as the primary metric before you launch, and having a way to test the difference.

Why RPV Beats Conversion Rate for Offer Tests

A free-shipping threshold, a bundle, a price test or a post-purchase upsell changes the basket, not only the close rate. If you use conversion as the primary metric, you can ship a “win” that shrinks revenue, or kill a “loss” that made each visitor more valuable.

Use purchase conversion as the primary metric when the change is meant only to raise the close rate (a clearer add-to-cart button, a simpler checkout) and the offer is held constant. Use RPV when the change can alter price, mix or discounting. How to choose the right metrics for A/B testing covers that split in more detail. For a close cousin of the same problem, see free shipping threshold testing.

Register a guardrail either way. If RPV is primary, keep conversion rate and, when you can, margin per visitor in the report. A revenue lift that comes only from deeper discounting is a different decision than a revenue lift at a stable margin.

A Worked Example, Including a Conversion Drop

A store tested a bundle-style offer on a mid-ticket catalog. Each group had 40,000 visitors.

Control produced 1,560 orders and $168,000 in revenue. Conversion rate was 3.90%, average order value was $107.69, and RPV was $4.20.

The variant produced 1,480 orders and $184,800 in revenue. Conversion rate was 3.70%, average order value was $124.86, and RPV was $4.62, a 10% relative lift.

A two-proportion test on conversion rate gives z = -1.48 and a p-value of 0.14. If conversion had been the primary metric, the test would have looked flat to slightly worse, and the offer might have been dropped.

RPV needs a different test, because most visitors spend nothing and a few spend a lot. For this example we use a two-sample z test on the mean, with an assumed standard deviation of $28 per visitor in each group (zeros included). The standard error of the difference is $0.198, z = 2.12, and the p-value is 0.034. At a pre-set 5% two-sided level, the RPV lift is statistically significant.

The standard deviation is an input, not a mystery output. You should compute it from your own visitor-level revenue, or use the interval your testing tool prints for revenue. If your SD is much larger than $28, the same $0.42 lift will need more traffic. That is normal for revenue per visitor statistical significance: the metric is noisier than conversion rate, so the sample is larger.

How to Test Significance on Skewed Revenue

Order values are not a bell curve. A few large orders can move RPV, and a naive t test can be too optimistic if you ignore that shape. Practical options, from simpler to more careful:

  • A z or t test on visitor-level revenue, including zeros, if you can accept a large-sample approximation and you have checked that one or two orders are not running the result. This is what the worked example uses.
  • A transformation or a trimmed mean, when a handful of wholesale or wedding orders would otherwise dominate a small sample.
  • A bootstrap of the RPV difference, which resamples visitors and builds an interval without leaning as hard on a normal assumption.
  • CUPED or another variance-reduction method, when you have pre-experiment spend for the same visitors. That can make a noisy metric readable sooner. See CUPED variance reduction.

Whatever method you choose, write it down before launch. Do not switch from a t test to a bootstrap after you see a p-value of 0.06. And do not run the conversion-rate formula on RPV. They are different data.

If the tool already reports an interval on revenue per visitor, use that interval and apply a practical threshold, the same way you would for a conversion lift. A p-value of 0.03 with a very wide interval may not justify a costly offer. For a refresher on reading a p-value, see p-value in A/B testing.

Read more: Minimum Detectable Effect (MDE) Explained for Ecommerce

Run Offer Tests on the Metric That Matters

Set revenue per visitor as the primary metric when the offer can change the basket, then decide from the lift and the margin guardrail. Try CustomFit.ai free for 14 days.

Start Free Trial No credit card required

Planning the Sample

Because RPV is noisier than conversion, a “two-week offer test” is often underpowered. Use a revenue per visitor calculator that takes your current RPV, a reasonable standard deviation and the lift you care about, or start from the tool’s sample-size view if it supports revenue. A proportion sample-size formula is written for conversion rates, so for RPV you should not paste a conversion baseline into it and hope. Either use a mean-based calculation or a simulation from past visitor-level revenue.

A useful check is to ask what sample would have been needed in the example above. With an SD of $28 and a $0.42 lift, 40,000 visitors per group were just enough to reach p = 0.034. At 20,000 per group, the same lift and SD would have given z = 1.50 and a p-value of 0.13, which is an inconclusive result, not a reason to ship.

If you cannot get 40,000 visitors, run a bigger offer, accept a longer runtime, or use variance reduction. Do not shrink the MDE in the report after the fact.

One more design point is easy to miss: the unit in the formula has to match assignment. If you assign people, divide by visitors. If your tool assigns sessions, divide by sessions and call the metric revenue per session in the write-up. Mixing the two, or dropping zeros “because they were not customers,” will make a variant look better than it was. The zeros are the shoppers who saw the offer and bought nothing. They belong in the revenue per visitor formula.

When a few wholesale or corporate orders land in one group, check the result with and without those orders, as a sensitivity note, not as a new primary analysis. If the p-value flips after you remove two large orders, you do not yet have a result you should ship. Stretch the runtime or cap the influence of outliers with a pre-registered rule, such as a trimmed mean.

A short decision rule that holds up in review is: ship if the RPV interval is entirely above zero (or above a pre-set practical threshold) and margin per visitor is not clearly down; iterate if RPV is up and margin is down; drop or rerun if the interval crosses zero.

Run Offer Tests on the Metric That Matters

Launch the experiment with revenue per visitor as the primary metric when the basket can change. Try CustomFit.ai free for 14 days, no credit card required.

Try CustomFit.ai Free No credit card required

Summary

The revenue per visitor formula is total revenue divided by visitors, or conversion rate times average order value on the same base. In rpv ab testing, that number should be the primary metric when an offer can change price or mix, because conversion rate can fall while the store makes more money. In the worked example, conversion moved from 3.90% to 3.70% (p = 0.14) while RPV moved from $4.20 to $4.62 (p = 0.034) under a $28 standard deviation. Revenue per visitor statistical significance needs visitor-level revenue, an honest SD or a bootstrap, and usually more traffic than a conversion test. A simple revenue per visitor calculator is enough to plan the sample. Revenue per visit is the same idea, as long as the unit matches assignment.

FAQs

What is the revenue per visitor formula?

Divide total revenue in the group by the number of assigned visitors in that group. You can also multiply conversion rate by average order value if both use the same visitor base. Include people who spent nothing. That is the point of the metric.

How do I build a revenue per visitor calculator?

In a spreadsheet, enter visitors, orders and revenue for each variant. Compute RPV, conversion rate and average order value from those inputs. If you have cost of goods, add margin per visitor as a guardrail. The calculator is the arithmetic, not a substitute for a planned test.

How do I judge revenue per visitor statistical significance?

Use visitor-level revenue, including zeros, and a test or interval meant for means, not the two-proportion z test you use for conversion rate. A large-sample z or t test, a bootstrap, or a CUPED-adjusted analysis are all valid if you choose one in advance.

Why is RPV A/B testing better than conversion rate for offers?

Offers change the basket. A bundle or a shipping threshold can reduce small orders and still raise revenue per visitor, or raise conversion and shrink margin. RPV, plus a margin guardrail, matches the business question more closely than a close-rate win.

Is revenue per visit different from revenue per visitor?

Only if your tool counts sessions rather than people. If assignment is by visitor, use visitors in the denominator. If assignment is by session, use sessions and say so. Do not mix the two in one report.

What sample size do I need for an RPV test?

More than you need for a conversion test of the same relative lift, because revenue is skewed and many visitors spend zero. In the worked example, 40,000 visitors per group were enough for a $0.42 lift with a $28 standard deviation, and 20,000 were not.

Read more:

Leave a Comment

Your email address will not be published. Required fields are marked *