How to Calculate CAGR Online: Step-by-Step Guide
To calculate CAGR, enter the beginning value, the ending value and the number of years β the compound annual growth rate is the ending value divided by the beginning value, raised to the power of one over the number of years, minus one. The ByteTools CAGR Calculator does that math for you and shows the formula with your numbers, so you get one clean annual figure that turns messy, uneven growth into something you can actually compare.
What CAGR tells you
CAGR, or compound annual growth rate, is the steady yearly rate that would grow a starting figure into an ending figure over a set period, as if it had climbed by the same percentage each year. Real growth is rarely that smooth, but expressing it as a single rate lets you compare an investment, a revenue line or a subscriber count against anything else on equal terms. It is the standard yardstick in finance precisely because it accounts for compounding rather than just averaging the years.
Step-by-step: using the calculator
- Enter the beginning value. This is the figure at the very start of the period β an initial investment, first-year revenue, or a starting user count.
- Enter the ending value. The figure at the end of the same period.
- Enter the number of years. Count the full span between the two figures, not the number of data points.
- Read the results. The tool shows the CAGR percentage, the total growth (how much it changed overall), the multiple achieved, and the exact formula with your values substituted in so you can verify the working.
A worked example
Say a portfolio grew from 10,000 to 18,000 over 4 years. Divide 18,000 by 10,000 to get 1.8. Raise 1.8 to the power of one-quarter (0.25), which is about 1.1583. Subtract 1 to get 0.1583, or roughly 15.8% CAGR. Total growth is 80%, but the annual rate that compounds into that is only about 15.8% because each year builds on the last. The calculator produces this instantly and displays the same formula so the number is never a black box.
| Input | Value |
|---|---|
| Beginning value | 10,000 |
| Ending value | 18,000 |
| Years | 4 |
| Total growth | 80% |
| CAGR | ~15.8% per year |
Private by design
All the math runs locally in your browser with JavaScript. The values you type β which might be real portfolio balances or company revenue β are never uploaded, stored or logged. That makes the calculator safe for sensitive financial figures, and it keeps working even offline once the page has loaded. The result is meant for comparison and general analysis, not financial advice, since CAGR deliberately smooths over the ups and downs that happened along the way.
Try the CAGR Calculator β free and 100% in your browser.
FAQ
What inputs do I need to calculate CAGR?
Just three: the beginning value, the ending value and the number of years between them. From those the calculator derives the annual compound rate and the total growth automatically.
How many years should I enter for a partial period?
Use the actual elapsed time as a decimal if it is not a whole number β for example, enter 2.5 for two and a half years. The exponent in the formula handles fractional periods correctly.
Does the calculator show the formula it used?
Yes. Alongside the result it displays the CAGR formula with your beginning value, ending value and years plugged in, so you can check the working or reproduce it by hand.
Is my financial data sent anywhere?
No. The computation happens entirely in your browser, so nothing you enter leaves your device or is stored β safe for real investment and revenue numbers.
Related free tools
- Compound Interest Calculator β project growth with regular contributions.
- ROI Calculator β measure return on a single investment.
- Inflation Calculator β adjust values for purchasing power over time.
- Percentage Calculator β quick percentage change and share math.
Built by ByteVancer
ByteTools is a free product of ByteVancer, a software and web development studio building web apps, SaaS and custom software. If you need custom dashboards, financial modeling tools or a full product built for your business, explore what ByteVancer can create.
Recommended reading
CAGR Tips and Common Mistakes to Avoid
Pro tips for using CAGR correctly: pick the right period, avoid cherry-picked endpoints, and know when CAGR hides risk you should not ignore.
CAGR Calculator Use Cases: Where It Actually Helps
Real CAGR use cases: comparing investments, pitching revenue growth, tracking users and benchmarking a business metric with one annual rate.
XOR Cipher Use Cases: CTFs, Learning, and Puzzles
Real use cases for the XOR cipher, from CTF challenges and teaching bitwise logic to lightweight obfuscation, with concrete worked examples.
XOR Cipher Tips: Keys, Security, and Common Mistakes
Pro tips and common mistakes for the repeating-key XOR cipher: key length, reuse pitfalls, format choices, and when to switch to real encryption.