TapCub is live — analytics, insights and live chat, free on one platform
Glossary

What is year over year (YoY)? Formula, examples and pitfalls

Year over year (YoY) compares a period with the same period a year earlier, which removes most seasonal effects. Formula, a worked example, how it differs from MoM and YTD, and the pitfalls for traffic data.

Su He Reviewed by Lucas Hayes Also called YoY Last updated Nov 4, 2026 Glossary

Quick answer

Year over year (YoY) is a comparison of a metric in one period with the same period one year earlier, usually expressed as a percentage change, which removes most of the effect of seasonal patterns.

Formula: YoY % = (this period − same period last year) / same period last year × 100

What is year over year?

Year over year (YoY) compares a metric in a period with the same period one year earlier:

YoY % = (this period − same period last year) / same period last year × 100

Because both periods sit at the same point in the year, most seasonal effects (summer slowdowns, December peaks, back-to-school) cancel out. That is why YoY is the standard growth comparison for businesses with strong seasonality.

A worked example

October website visitors (sample numbers):

PeriodVisitors
October last year40,500
October this year48,600

YoY = (48,600 − 40,500) / 40,500 × 100 = +20.0%.

Calendar months contain different numbers of weekends from year to year. Comparing four full weeks aligned by weekday (Monday to Sunday, same week of the year) gave +17.3% in the same data: the calendar month had one more weekday than last year, which inflated the simple figure.

YoY vs MoM vs YTD

ComparisonCompares withGood forWeak point
YoYSame period a year earlierGrowth with seasonality removedSlow to show recent changes
MoMPrevious monthSpotting recent changesMixed up with seasonal swings
YTDSum since January 1Progress towards an annual targetNot a growth rate by itself
WoWPrevious weekOperational monitoringNoisy

Five pitfalls with traffic and product data

  1. Weekday mix. Align by weekday or use full weeks, as above.
  2. Moving holidays. Easter, Black Friday, Lunar New Year and Ramadan change dates. Compare the event windows, not the calendar weeks.
  3. Tracking changes. A new consent banner, a script added to more pages or bot filtering between the two years changes the numbers without any real growth.
  4. Base effects. Growth from a very small or very bad base looks enormous (or a strong base makes this year look weak).
  5. Compounding. Two years of +20% is +44% over two years, not +40%. Use compound growth for multi-year comparisons.

Running YoY in TapCub

The comparison menu in TapCub's web analytics offers the previous period and the same period last week; there is no one-click "last year". For YoY, set a custom date range for this year, note the totals, then set the same range a year earlier (aligned by weekday where it matters). Daily aggregates contain no personal data and are not deleted by the retention timers, so aggregate reports can go back further than raw event rows. Add annotations for tracking changes, so a jump caused by new tracking is visible on next year's chart too.

See also

Was this explanation clear?

We use your answers to fix and expand this page.

Su He

Data Analyst

Explores traffic sources, conversion funnels, and retention, using clear metric definitions and concrete examples to explain what the numbers mean.

FAQ

Questions people ask

Short answers to the follow-up questions that come up most.

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

How do you calculate year-over-year growth?

Subtract last year’s value from this year’s, divide by last year’s value and multiply by 100. 48,600 vs 40,500 is (8,100 / 40,500) × 100 = 20%.

What is the difference between YoY and MoM?

Month over month compares with the previous month, so it picks up seasonal swings. Year over year compares with the same month a year ago, so seasonality largely cancels out.

What is the difference between YoY and YTD?

Year to date sums a metric from the start of the year until today. YoY compares any period with the same period a year earlier, and can be applied to a YTD figure too.

When is YoY misleading?

When last year was unusual (an outage, a one-off campaign), when tracking changed between the years, or when the product was very small a year ago so any growth looks huge.

See this number on your own site

Add one script tag for web and apps, and the first reports fill in within minutes.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics