Calculators
GMROI (gross margin return on inventory) API
GMROI = gross margin dollars / average inventory cost, the retail metric for how much gross margin each inventory dollar earns. Answers 'what's my GMROI', 'how much margin per inventory dollar', 'is my inventory investment productive'.
Price$0.01per request
MethodPOST
Route/v1/calc/biz-gmroi
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
calcgmroiinventoryretailmarginopsmerchandisingfinance
API URL
Integration docshttps://x402.hexl.dev/v1/calc/biz-gmroiExample request
{
"grossMargin": 120000,
"averageInventoryCost": 40000
}Example response
{
"formula": "GMROI = grossMargin$ / averageInventoryCost",
"gmroi": 3,
"interpretation": "Earns $3 of gross margin per $1 invested in inventory.",
"rating": "excellent",
"inputs": {
"grossMargin": 120000,
"averageInventoryCost": 40000
}
}Input schema
{
"type": "object",
"required": [
"grossMargin",
"averageInventoryCost"
],
"properties": {
"grossMargin": {
"type": "number",
"description": "gross margin in dollars",
"examples": [
120000
]
},
"averageInventoryCost": {
"type": "number",
"examples": [
40000
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}