Click-Through Rate Calculator & Traffic Mix Comparison
Calculate click-through rates from counted impressions and compare two variants by device, placement, channel, or another disjoint segment. See whether a change in traffic mix explains a gap in the pooled totals. A separate interval mode quantifies sampling uncertainty when observations are independent one-per-impression outcomes.
Compare click-through rates by traffic mix
Measure what happened across your traffic. Apply the same mix to both variants to see whether the difference holds within comparable segments.
The direction reverses at the same traffic mix.
The direction reverses at the same traffic mix.
Pooled · actual impressions
−1.40 pp
A 5.00% · B 3.60%
−28.00% relative to A
Same traffic mix · common weights
+1.00 pp
A 4.20% · B 5.20%
Change is B minus A in percentage points. The same-mix rates apply the pooled impression share in each segment to both variants.
Enter comparable traffic segments
Use the same dates and counting rules. Count each impression once if it received a click. Enter 0 impressions when a variant had no traffic.
Choose an interval when clicks are independent one-per-impression outcomes within each segment. Pooled intervals are available for a single populated segment.
Where the rate changed
A negative change favors A on this metric. A positive change favors B. Lines show sampling intervals where available.
- Pooled−1.40 pp
- Same traffic mix+1.00 pp
- Desktop+1.00 pp
- Mobile+1.00 pp
Audit the impression counts
View segment ledger
| Segment | A clicked / shown | B clicked / shown | Common weight | B − A |
|---|---|---|---|---|
| Desktop | 80 / 1,0008.00% | 9 / 1009.00% | 36.667% | +1.00 pp |
| Mobile | 20 / 1,0002.00% | 27 / 9003.00% | 63.333% | +1.00 pp |
View selectable CSV
How to use this calculator
- Choose a worked example or define the two variants and enter nonoverlapping segment names.
- Enter total impressions and the number with at least one click on each side. Use explicit zero counts for a side with no traffic.
- Use Descriptive only for delivered campaign totals. Select a sampling interval only when the independent binary observation assumptions apply.
- Compare the pooled and same-mix results. Expand the segment ledger to reconcile counts, weights and changes, or download the CSV.
The Formula
The mathematical logic powering this calculation is:
Divide clicked impressions by impressions in each variant and segment. Count an impression once if it received at least one click. For pooled CTR, divide the sum of clicked impressions by the sum of impressions within the arm. Change equals B minus A in percentage points. Relative change divides the fractional difference by A’s fractional rate and is unavailable at zero baseline CTR.
To compare at a shared traffic mix, weight each segment by its combined A and B impressions divided by all combined impressions. Multiply each variant’s segment CTR by that same weight and add the weighted rates. A positive-weight segment needs at least one impression on both sides. With either side missing, withhold the standardized comparison and continue to show the supported observations. Segments with zero impressions in both variants have zero weight when any traffic exists.
When independently sampled binary outcomes are appropriate, use two-sided Wilson score limits at the selected 90%, 95%, or 99% confidence level. If p is the observed rate, n is the count and z is the normal critical value, the Wilson interval is centered at (p + z²/(2n))/(1 + z²/n) with half-width z × √(p(1−p)/n + z²/(4n²))/(1+z²/n). For the B−A difference, use Newcombe’s uncorrected hybrid score interval. Subtract the root-sum-square of the distance from B’s estimate to its lower bound and from A’s estimate to its upper bound. Add the root-sum-square of the opposite distances for the upper bound. The intervals use the model separately within segments. The pooled difference gets an interval when only one segment has traffic. The same-mix comparison is descriptive.
Enter one to ten disjoint segments and whole counts from zero to 100 million on each side. The worksheet assumes matching time and counting rules. Repeated or clustered observations, peeking, selective analysis, or changes in campaign delivery can affect statistical interpretation. The workspace does not adjust for multiple comparisons or establish causal effects on clicks, conversion, or profit.Worked Example
If you input:
- Desktop · A / B: 80 of 1,000 / 9 of 100
- Mobile · A / B: 20 of 1,000 / 27 of 900
- Sampling intervals: Descriptive only
Result:
A’s pooled click-through rate is 5.00% and B’s is 3.60%, a −1.40 percentage-point change. B is 1.00 point higher within both segments. With the same weights of 36⅔% desktop and 63⅓% mobile, A is 4.20% and B is 5.20%, a +1.00 point change.
Frequently Asked Questions
How do I calculate CTR from impressions and clicks?
Divide clicked impressions by served impressions and multiply by 100. For example, 15 clicked impressions out of 500 yield a CTR of 3%. Use counts with at most one event per impression in this worksheet.
Why can the same-mix comparison reverse the overall result?
Variants can be delivered in different proportions to high- and low-click-rate segments. Pooled CTR reflects both click behavior and delivery mix. Applying one observed set of traffic weights to both variants isolates the arithmetic effect of using the same segment mix.
Why is my same-mix comparison unavailable?
Both sides need a rate for every segment with traffic. A variant with zero impressions has no rate for that segment. The worksheet keeps the observed counts and any supported rates visible.
When are the sampling intervals appropriate?
Use them where the inputs represent independent, consistently counted binary outcomes and the two variants are independent. Repeated impressions from the same account, paired observations, changing eligibility or repeated testing may call for a different analysis.
What is the difference between percentage points and relative change?
Moving from 4% to 5% is an increase of 1 percentage point, or 25% relative to the original 4%. The relative change is unavailable when the initial rate is zero.
Does higher CTR mean higher return on advertising spend?
Higher CTR means a greater share of counted impressions clicked. Costs, post-click conversion, order value and returns determine revenue and profit. Use your measured rates as inputs to a separate spend or ROAS analysis.
Similar Calculators
ROAS Calculator & Campaign Profit Planner
Compare advertising scenarios with gross and net ROAS, returns, order costs, fees and profit. Visualize break-even budgets and export the full campaign comparison.
CPM Calculator
Calculate cost per thousand impressions from campaign totals or compare two ad quotes by spend and expected viewable impressions.
CPC Calculator
Calculate CPC (cost per click), required budget, expected clicks, and supporting paid-media efficiency metrics.
Confidence Interval for Proportion Calculator
Estimate a confidence interval around a sample proportion such as a survey result or conversion rate.
Advertising Revenue Calculator & Publisher Seasonality Planner
Compare website publisher ad revenue by placement over 12 months. Enter monetized impressions, net or gross CPM and monthly factors to assess a revenue target.
