{"uid":"cap_-2_UBOzqnLWWVDFG6mTgx","slug":"cagr-calculator-75a27b0b","name":"CAGR Calculator","description":"Compound annual growth rate between a beginning and ending value over N years: (end/begin)^(1/years) - 1. Also returns total growth over the whole period.","url":"https://agent402.tools/api/cagr","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"years":{"type":"number","description":"Number of years (> 0)"},"endValue":{"type":"number","description":"Ending value (positive)"},"beginValue":{"type":"number","description":"Starting value (positive)"}}},"responseSchema":{"type":"json","example":{"cagr":0.148698,"years":5,"totalGrowth":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_w82JDU74N868gXnaUUKRC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the Compound Annual Growth Rate (CAGR) and total growth percentage between a beginning value and an ending value over a specified number of years.","exampleAgentPrompt":"What's the CAGR on an investment that grew from $12,500 to $47,800 over 8 years, and what was the total growth over the period?","exampleUseCases":null,"resultDescription":"Returns the compound annual growth rate as a decimal or percentage (calculated as (endValue/beginValue)^(1/years) - 1) and the total growth over the entire period.","failureModes":["beginValue or endValue is zero or negative — undefined result or division by zero","years is zero or negative — invalid exponent, computation fails","missing required fields returns a validation error","non-numeric inputs cause a 400 bad request"],"whenToPreferThis":"Use this endpoint when you need a precise CAGR and total growth figure given explicit start value, end value, and duration in years — ideal for financial analysis, investment benchmarking, or business KPI reporting when you already have the raw data points.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T01:03:31.072Z","isFirstParty":false}