Home / MCP Tools / ROI & Annualized Return Calculator
Live MCP toolfinance

ROI & Annualized Return Calculator

Return on investment, gain and (with a holding period) annualized ROI.

Free tier eligible — 500 calls/month with a free key from /pricing; x402 pay-per-call above quota.

Parameters

ParameterTypeRequiredDescription
initial_investmentnumberrequiredInitial investment in USD
final_valuenumberrequiredFinal/exit value in USD
yearsnumberoptionalHolding period in years (for annualized ROI)

Call it over MCP (JSON-RPC 2.0)

curl -s https://wingmanprotocol.com/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "roi", "arguments": {"initial_investment": 100, "final_value": 100}}}'

Or plain HTTP

curl -s https://wingmanprotocol.com/tools/roi \
  -H 'Content-Type: application/json' \
  -d '{"initial_investment": 100, "final_value": 100}'

Try it live

Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/roi from your browser.

Related tools in Finance

finance
Loan Amortization Schedule
Full month-by-month amortization table with principal, interest, and balance columns.
finance
Annuity Present / Future Value
Compute the present or future value of an ordinary annuity or annuity-due.
finance
Bond Price Calculator
Fair value of a fixed-coupon bond given face value, coupon rate, market yield, and maturity.
finance
CAGR (Compound Annual Growth Rate) Calculator
Compound annual growth rate and total growth between two values over N years.
finance
Compound Interest / Future Value Calculator
Future value, total contributions and interest with optional periodic deposits.
finance
Depreciation Schedule Calculator
Straight-line or double-declining-balance schedule for an asset.