Contribution = revenue − imported costs. Contribution margin = contribution / revenue × 100. Target revenue = costs / (1 − target margin / 100).
- Contribution (USD)
- 1515.000000
- Contribution margin (%)
- 63.125000
- Revenue needed for target (USD)
- 2528.571429
Costs must cover the same period as revenue. This is contribution before any omitted payroll, taxes, refunds or overhead. A target price does not establish customer willingness to pay.
Input and expected output
{
"calculator": "ai-margin",
"version": "1.0.0",
"inputs": {
"revenue": "2400",
"cost": "885",
"target": "65"
},
"results": {
"contribution_usd": "1515.000000",
"margin_percent": "63.125000",
"target_revenue_usd": "2528.571429"
},
"assumptions": "Costs must cover the same period as revenue. This is contribution before any omitted payroll, taxes, refunds or overhead. A target price does not establish customer willingness to pay.",
"rounding": "Exact rational calculation; output rounded half up to six decimal places. Figures are scenarios, not financial advice."
}Fee = amount × percentage / 100 + fixed charge. Retained = amount − fee. Difference = fee B − fee A.
- Option A fee (USD)
- 1.950000
- Option A retained (USD)
- 27.050000
- Option B fee (USD)
- 1.344000
- Option B retained (USD)
- 27.656000
- A minus B retained (USD)
- -0.606000
Enter your actual provider schedule. Default numbers are fictional, not quotes. Taxes, foreign exchange, minimum fees, refunds, gas and cross-border charges are included only if you add them to the supplied fee assumptions. A negative retained amount is possible.
Input and expected output
{
"calculator": "payment-fees",
"version": "1.0.0",
"inputs": {
"amount": "29",
"rate_a": "5",
"fixed_a": "0.50",
"rate_b": "3.6",
"fixed_b": "0.30"
},
"results": {
"fee_a_usd": "1.950000",
"retained_a_usd": "27.050000",
"fee_b_usd": "1.344000",
"retained_b_usd": "27.656000",
"a_minus_b_retained_usd": "-0.606000"
},
"assumptions": "Enter your actual provider schedule. Default numbers are fictional, not quotes. Taxes, foreign exchange, minimum fees, refunds, gas and cross-border charges are included only if you add them to the supplied fee assumptions. A negative retained amount is possible.",
"rounding": "Exact rational calculation; output rounded half up to six decimal places. Figures are scenarios, not financial advice."
}Unit difference = delivered billable units − billed units. Gross difference = unit difference × price per unit.
- Unit difference
- 700.000000
- Gross difference to review (USD)
- 56.000000
Use successful, contractually billable units for one closed period. Negative means more units billed than delivered. Tiering, free allowances, duplicate events, credits and tax are not resolved here. A difference is not confirmed collectible revenue.
Input and expected output
{
"calculator": "usage-gap",
"version": "1.0.0",
"inputs": {
"delivered": "12500",
"billed": "11800",
"unit_price": "0.08"
},
"results": {
"units_difference": "700.000000",
"gross_difference_usd": "56.000000"
},
"assumptions": "Use successful, contractually billable units for one closed period. Negative means more units billed than delivered. Tiering, free allowances, duplicate events, credits and tax are not resolved here. A difference is not confirmed collectible revenue.",
"rounding": "Exact rational calculation; output rounded half up to six decimal places. Figures are scenarios, not financial advice."
}Period minutes = days × 1440. Allowed downtime = period minutes × (1 − uptime target / 100). Exceeded minutes = max(0, observed − allowed).
- Allowed downtime (minutes)
- 43.200000
- Downtime above budget (minutes)
- 16.800000
This assumes a continuous 24-hour service and a fixed day count. Contract exclusions, overlapping incidents, maintenance windows and service credits require interval and contract review; this is not a credit claim.
Input and expected output
{
"calculator": "sla-budget",
"version": "1.0.0",
"inputs": {
"days": "30",
"target": "99.9",
"downtime": "60"
},
"results": {
"allowed_minutes": "43.200000",
"exceeded_minutes": "16.800000"
},
"assumptions": "This assumes a continuous 24-hour service and a fixed day count. Contract exclusions, overlapping incidents, maintenance windows and service credits require interval and contract review; this is not a credit claim.",
"rounding": "Exact rational calculation; output rounded half up to six decimal places. Figures are scenarios, not financial advice."
}Removable seats = min(inactive seats, max(0, paid seats − minimum seats)). Reduction candidate = removable seats × unit price.
- Seats to review
- 20.000000
- Monthly reduction candidate (USD)
- 400.000000
- Monthly contract floor (USD)
- 1200.000000
Inactive does not always mean unnecessary. Confirm protected users, contract terms and renewal dates before removing seats. The result is a candidate, not a guaranteed saving or an automatic cancellation.
Input and expected output
{
"calculator": "seat-renewal",
"version": "1.0.0",
"inputs": {
"seats": "80",
"inactive": "25",
"minimum": "60",
"unit_price": "20"
},
"results": {
"removable_seats": "20.000000",
"reduction_candidate_usd": "400.000000",
"contract_floor_usd": "1200.000000"
},
"assumptions": "Inactive does not always mean unnecessary. Confirm protected users, contract terms and renewal dates before removing seats. The result is a candidate, not a guaranteed saving or an automatic cancellation.",
"rounding": "Exact rational calculation; output rounded half up to six decimal places. Figures are scenarios, not financial advice."
}Attempts = requests × (1 + average extra attempts). Per-attempt cost = ((input − cached) × input rate + cached × cached rate + output × output rate) / 1,000,000. Total = attempts × cost.
- Expected attempts
- 11000.000000
- Estimated total (USD)
- 71.500000
- Increment from retries (USD)
- 6.500000
- Difference from using uncached input (USD)
- 16.500000
Each attempt is assumed to use the same tokens and cache hit amount. Partial failures, routing and varying context lengths are not modeled. Prices are supplied by you; fictional defaults are not current provider pricing.
Input and expected output
{
"calculator": "retry-cache-cost",
"version": "1.0.0",
"inputs": {
"requests": "10000",
"retries": "0.1",
"input": "2000",
"cached": "1000",
"output": "500",
"input_rate": "2",
"cached_rate": "0.5",
"output_rate": "8"
},
"results": {
"expected_attempts": "11000.000000",
"total_cost_usd": "71.500000",
"retry_increment_usd": "6.500000",
"cache_difference_usd": "16.500000"
},
"assumptions": "Each attempt is assumed to use the same tokens and cache hit amount. Partial failures, routing and varying context lengths are not modeled. Prices are supplied by you; fictional defaults are not current provider pricing.",
"rounding": "Exact rational calculation; output rounded half up to six decimal places. Figures are scenarios, not financial advice."
}