Method Deck / finance
Percent change and CAGR
Computes the simple percent change between a starting and ending value, and the compound annual growth rate (CAGR) over a stated number of years.
Published for review. The Founder is checking every card himself; anything he strikes comes down the same hour.
Try it
Inputs
- start_value (number, currency units, required) min 0 : Starting value
- end_value (number, currency units, required) min 0 : Ending value
- years (number, years, required) min 0 : Number of years between start and end
Outputs
- percent_change (%): Simple percent change from start_value to end_value
- cagr_percent (%): Compound annual growth rate
Steps
- percent_change = (end_value - start_value) / start_value * 100.
- CAGR as a decimal = (end_value / start_value) ^ (1 / years) - 1.
- cagr_percent = CAGR decimal * 100.
- Round percent_change and cagr_percent to 2 decimals.
Constants
None.
Sources
- Principles of Corporate Finance (McGraw-Hill, 2026-09-30T19:31:29Z) - CAGR = (End/Start)^(1/n) - 1; percent change = (End-Start)/Start
Worked example and test vectors
| Name | Inputs | Answer |
| worked example | {"start_value":1000,"end_value":2000,"years":5} | Percent change 100.00%, CAGR 14.87% |
| test vector: decline | {"start_value":5000,"end_value":4000,"years":2} | Percent change -20.00%, CAGR -10.56% |
Published card
- Address:
6f582ae0ba622f025e68008849246b2f
- Made at:
2026-09-30T22:39:30.722Z
- Method sha256:
efcd66fd1548d9423134c81c10bdeb7eea0fceda4f615970d87160c07fa65978