Docs

COI & ROI Calculator

Compute a 36-month cost-of-inaction vs migration NPV.

Overview

Compares keeping the legacy stack against migrating to a new SaaS over 36 months, with NPV, breakeven, and cost composition.

Features

  • 36-month NPV simulation.
  • Breakeven month.
  • Cost composition (labor/risk/license).
  • Growth and efficiency parameters.

Use cases

  • Building a business case for migration.
  • Comparing the cost of inaction vs a new tool.

API reference

POST /api/v1/tools/roi-calculate

Compute a 36-month cost-of-inaction vs migration NPV. Compares keeping the legacy stack (license + labor + data-error risk) against migrating to a new SaaS, with an overlap period and retained legacy cost.

Returns: Per-month cumulative cost arrays for legacy and migration curves, NPV of each, net savings NPV, breakeven month, and cost composition percentages.

Parameters

NameTypeRequiredDefaultDescription
rev number Yes — Annual revenue. Used to size the data-error risk cost.
leg number Yes — Legacy monthly license cost.
hours number Yes — Maintenance hours per week.
rate number Yes — Hourly labor cost.
err number Yes — Data error impact as a percentage of revenue (e.g. 1.5 = 1.5%).
mig number Yes — One-time migration fee.
newSaaS number Yes — New SaaS monthly cost.
dur number Yes — Overlap duration in months (legacy + new SaaS run side by side).
growth number Yes — Annual data growth as a percentage (e.g. 10 = 10%).
eff number Yes — Operational efficiency as a percentage (e.g. 90 = 90% of labor eliminated).

Example

curl -X POST https://data-migration-tools.com/api/v1/tools/roi-calculate \
  -H "Content-Type: application/json" \
  -d '{"rev":5000000,"leg":4000,"hours":20,"rate":75,"err":1,"mig":25000,"newSaaS":1500,"dur":3,"growth":15,"eff":85}'

See the full API reference for all examples and error codes.