{"uid":"cap_1Mf9QungtGO_wgps89nB3","slug":"operating-margin-two-input-scenario-grid-calculator-19b0a5fa","name":"Operating Margin Two-Input Scenario Grid Calculator","description":"Operating margin - Two-input scenario grid: Calculate up to 100 combinations of two distinct supplied input fields, with invalid combinations reported. Metric: Operating margin. Supplied figures only; returns JSON with formula, units and limitations. One of 50 calculators with 20 analysis modes. No live feed, financial advice or trade execution. 0.01 USDC includes one bounded two-input scenario grid report.","url":"https://market.datapackvibe.com/x402/assistant-finance-operating-margin-stress-grid?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"field_x":{"enum":["operating_profit","revenue"],"type":"string","default":"operating_profit"},"field_y":{"enum":["operating_profit","revenue"],"type":"string","default":"revenue"},"baseline":{"type":"object","default":{"revenue":10000,"operating_profit":2000},"required":["operating_profit","revenue"],"properties":{"revenue":{"type":"number","default":10000,"maximum":1000000000000,"minimum":0,"description":"Amount in a consistent supplied currency and reporting period","exclusiveMinimum":0},"operating_profit":{"type":"number","default":2000,"maximum":1000000000000,"minimum":-1000000000000,"description":"Amount in a consistent supplied currency and reporting period"}},"additionalProperties":false},"values_x":{"type":"array","items":{"type":"number","default":1,"maximum":1000000000000,"minimum":-1000000000000},"default":[2000,2200],"maxItems":10,"minItems":1},"values_y":{"type":"array","items":{"type":"number","default":1,"maximum":1000000000000,"minimum":-1000000000000},"default":[10000,11000],"maxItems":10,"minItems":1}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__bZEOemAu-_RUImZVqVSs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates operating margin across up to 100 combinations of two input variables (operating profit and/or revenue) and returns a scenario grid with formula, units, and invalid-combination flags.","exampleAgentPrompt":"Run a two-input operating margin scenario grid with baseline revenue of 10,000 and operating profit of 2,000 — vary operating profit across [1800, 2000, 2200, 2400] and revenue across [9000, 10000, 11000, 12000] and show me the full grid including any invalid combinations.","exampleUseCases":[{"title":"Quarterly revenue sensitivity analysis","prompt":"I want to see how our operating margin shifts if revenue lands anywhere between 8,000 and 13,000 across five steps while operating profit stays fixed at 2,500 — use baseline revenue of 10,000 and operating profit of 2,000, and vary revenue as the x-axis with values [8000, 9500, 10000, 11500, 13000]."},{"title":"Dual-variable profit planning grid","prompt":"Can you build an operating margin scenario grid where I vary both operating profit and revenue? Baseline is revenue 500,000 and operating profit 75,000. Set operating profit values to [60000, 70000, 75000, 80000, 90000] on the x-axis and revenue values to [450000, 475000, 500000, 525000, 550000] on the y-axis, and flag any invalid combos."},{"title":"Downside stress test for operating margin","prompt":"I need to stress test our operating margin — baseline is revenue 1,000,000 and operating profit 150,000. Vary operating profit across [50000, 80000, 100000, 120000, 150000] and revenue across [800000, 900000, 1000000] and give me the full combination grid so I can see worst-case margins."}],"resultDescription":"A JSON response containing a two-dimensional scenario grid of operating margin values for every valid combination of the supplied x-axis and y-axis input values, along with the formula used, units, any invalid combinations flagged, and limitations of the calculation. Up to 100 (10×10) combinations are supported.","failureModes":["field_x and field_y set to the same value (same-field grid not supported, reported as invalid)","revenue values at or below zero (exclusiveMinimum enforced)","more than 10 values supplied for either axis (maxItems exceeded)","baseline missing required fields (operating_profit or revenue)","values exceeding maximum bounds (±1,000,000,000,000)","malformed JSON body returns validation error"],"whenToPreferThis":"Choose this endpoint when you need a structured matrix of operating margin outcomes across two varying financial inputs simultaneously, rather than a single-point calculation. It is ideal for sensitivity analysis, financial planning, and stress testing where you want to see how operating margin behaves across a range of revenue and/or operating profit scenarios in one call. Prefer it over single-value calculators when you need a grid output with invalid-combination detection.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:58:42.932Z","isFirstParty":false,"canonicalSlug":"operating-margin-two-input-scenario-grid-calculator-19b0a5fa"}