Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint
$ man rule-of-40-calculator

/rule-of-40-calculator

agentutility / edge-finance / rule-of-40-calculator
PRICE / CALL
$0.01
USDC · base mainnet · scheme: exact
METHOD
POST
CATEGORY
uncategorized
STATUS
live
NAME
rule-of-40-calculator rule of 40 calculator / saas benchmark score / arr growth plus ebitda margin
synonym alias of saas-metrics-score — reuses the canonical handler.
SYNOPSIS
POST https://x402.agentutility.ai/rule-of-40-calculator
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Rule of 40 calculator / SaaS benchmark score / ARR growth plus EBITDA margin. Same deterministic calculator as saas-metrics-score.

INPUTrequest schema
propertytypedescriptionreq?
arrnumberAnnual recurring revenue.required
growth_rate_pctnumberAnnual ARR growth rate percent.required
gross_margin_pctnumberGross margin percent.required
net_revenue_retention_pctnumberNet revenue retention percent.required
burn_multiplenumberNet burn divided by net new ARR. Optional.optional
magic_numbernumberSales efficiency magic number. Optional.optional
ebitda_margin_pctnumberEBITDA margin percent for rule-of-40. Defaults to 0 when omitted.optional
logo_churn_pctnumberAnnual logo churn percent. Optional.optional
OUTPUTresponse shape
fieldtypedescription
calculatorstring
scorestring
gradestring
recommendationstring
metricsstring
driversstring
warningsstring
sourcestring
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/rule-of-40-calculator \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster
npx -y @agentutility/mcp-<cluster>

# Required: EVM private key with USDC on Base
export X402_PRIVATE_KEY=0x...

# Then call the rule-of-40-calculator tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
edge-financeruleof40calculatorrule-of-40-calculator
methods
POST
cluster
edgefinance
price
$0.01 USDC per call
ADJACENTother endpoints in edgefinance
endpointdescriptionprice
amortization-scheduleAmortization schedule API / loan payment schedule / debt amortization calculator.$0.01
blended-finance-scoreBlended finance score API / concessional capital efficiency / private capital mobilization / first-loss impact finance calculator.$0.01
blended-finance-score-apiBlended finance score API / concessional capital leverage scoring / impact finance risk score.$0.01
blended-finance-score-api-f70b81Blended finance score API / concessional capital efficiency / private-capital leverage and impact score.$0.01
break-even-calculatorBreak-even calculator API / contribution margin calculator / unit economics break-even units / fixed cost payback.$0.01
cash-conversion-cycle-calculatorCash conversion cycle calculator / working capital optimization API / DSO DIO DPO analysis.$0.01
cash-runway-calculatorCash runway calculator / startup burn runway API / founder finance planning.$0.01
contribution-margin-calculatorContribution margin calculator / break-even units API / fixed-cost recovery calculator.$0.01
SEE ALSO
agentutility · edgefinance · x402 · mcp · llms.txt · registry.json · bazaar.x402.org