← Agent Data Hub · Search endpoints · /llms.txt

AI Net Present Value (NPV), IRR & Payback Period Cashflow Calculator

Computes exact Net Present Value (NPV), Internal Rate of Return (IRR via Newton-Raphson), and discounted payback for a series of cashflows.

Call it (no API key)

GET https://api.agentdatahub.de/api/v1/call/ai-tool-npv-irr-cashflow?rate=0.08&cashflows=-10000,3000,4000,5000,6000&compact=1

Full metadata: without compact=1 · Markdown: format=llm · Only some fields: add &fields=a,b.c · MCP: tool call_api with {"apiId":"ai-tool-npv-irr-cashflow"}

Parameters

rateDiscount rate decimal e.g. 0.08
cashflowsComma-separated cashflows e.g. -10000,3000,4000,5000,6000

Example response (live, compact)

{
  "apiId": "ai-tool-npv-irr-cashflow",
  "data_freshness": "live",
  "data": {
    "tool": "ai-tool-npv-irr-cashflow",
    "discount_rate_pct": 8,
    "cashflows": [
      -10000,
      3000,
      4000,
      5000,
      6000
    ],
    "net_present_value_npv": 4586.47,
    "internal_rate_of_return_irr_pct": 24.888,
    "profitable_investment": true
  },
  "source": "100% Platform-Native Deterministic AI Core Utility (<1ms)",
  "license": "100% Platform-Owned Deterministic Algorithm (Commercial Use Allowed)"
}

Source & license

Source100% Platform-Native Deterministic AI Core Utility (<1ms)
License100% Platform-Owned Deterministic Algorithm (Commercial Use Allowed)
Source URLhttps://api-hub.internal/ai-core-tools/ai-tool-npv-irr-cashflow
Termshttps://opensource.org/licenses/MIT
CategoryDeveloper, Tech & Web › AI Core Daily Tools