Calculators
Email campaign ROI calculator API
Project an email funnel (sent -> opens -> clicks -> conversions -> revenue) and compute ROI = (revenue - cost) / cost with a rating bucket. Answers 'what's the ROI of this email campaign','how much revenue will this blast drive'.
Price$0.01per request
MethodPOST
Route/v1/calc/mkt-email-roi
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
calcmarketingemailroicampaignfunnelrevenuemetrics
API URL
Integration docshttps://x402.hexl.dev/v1/calc/mkt-email-roiExample request
{
"sent": 50000,
"openRate": 0.22,
"clickRate": 0.12,
"conversionRate": 0.04,
"revenuePerConversion": 80,
"cost": 1500
}Example response
{
"formula": "ROI = (revenue - cost) / cost; revenue = sent*open*click*conv*revenuePerConversion",
"sent": 50000,
"opens": 11000,
"clicks": 1320,
"conversions": 52.8,
"revenue": 4224,
"cost": 1500,
"netProfit": 2724,
"roi": 1.816,
"roiPercent": 181.6,
"rating": "excellent"
}Input schema
{
"type": "object",
"required": [
"sent",
"openRate",
"clickRate",
"conversionRate",
"revenuePerConversion",
"cost"
],
"properties": {
"sent": {
"type": "number",
"examples": [
50000
]
},
"openRate": {
"type": "number",
"description": "decimal in [0,1]",
"examples": [
0.22
]
},
"clickRate": {
"type": "number",
"description": "click-of-opens, decimal in [0,1]",
"examples": [
0.12
]
},
"conversionRate": {
"type": "number",
"description": "conversion-of-clicks, decimal in [0,1]",
"examples": [
0.04
]
},
"revenuePerConversion": {
"type": "number",
"examples": [
80
]
},
"cost": {
"type": "number",
"description": "campaign cost",
"examples": [
1500
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}