{"uid":"cap_3slIvUUcAwr5253UjiZPd","slug":"gross-profit-two-input-scenario-grid-calculator-d6fb400d","name":"Gross Profit Two-Input Scenario Grid Calculator","description":"Gross profit - Two-input scenario grid: Calculate up to 100 combinations of two distinct supplied input fields, with invalid combinations reported. Metric: Gross profit. 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-gross-profit-stress-grid?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"field_x":{"enum":["revenue","cost_of_sales"],"type":"string","default":"revenue"},"field_y":{"enum":["revenue","cost_of_sales"],"type":"string","default":"cost_of_sales"},"baseline":{"type":"object","default":{"revenue":10000,"cost_of_sales":6000},"required":["revenue","cost_of_sales"],"properties":{"revenue":{"type":"number","default":10000,"maximum":1000000000000,"minimum":-1000000000000,"description":"Amount in a consistent supplied currency and reporting period"},"cost_of_sales":{"type":"number","default":6000,"maximum":1000000000000,"minimum":0,"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":[10000,11000],"maxItems":10,"minItems":1},"values_y":{"type":"array","items":{"type":"number","default":1,"maximum":1000000000000,"minimum":-1000000000000},"default":[6000,6600.000000000001],"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_yn5M8uY8alSqu29Uhtd4m","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 a grid of up to 100 gross profit outcomes by varying two input fields (revenue and/or cost of sales) across user-specified value ranges.","exampleAgentPrompt":"Run a gross profit scenario grid with revenue as the X-axis varying across [9000, 9500, 10000, 10500, 11000] and cost of sales as the Y-axis varying across [5000, 5500, 6000, 6500], using a baseline of revenue=10000 and cost_of_sales=6000 — give me all the combinations with any invalid ones flagged.","exampleUseCases":[{"title":"Revenue sensitivity for pricing decisions","prompt":"I want to see how gross profit changes as I vary revenue from 80000 to 120000 in steps of 10000 while keeping cost of sales fixed at 70000 — can you build a scenario grid with revenue as both X and Y axes using a baseline of revenue=100000 and cost_of_sales=70000?"},{"title":"Cost escalation stress test","prompt":"My baseline is revenue=500000 and cost of sales=300000. Can you stress-test gross profit by varying cost of sales across [250000, 275000, 300000, 325000, 350000] on one axis and revenue across [450000, 475000, 500000, 525000, 550000] on the other, and flag any combinations that are invalid?"},{"title":"Startup margin scenario planning","prompt":"We're a startup with baseline revenue of 200000 and cost of sales of 140000. Run a two-input scenario grid for gross profit varying revenue across [150000, 175000, 200000, 225000] and cost of sales across [120000, 130000, 140000, 150000, 160000] so I can see all possible margin outcomes."}],"resultDescription":"A JSON response containing a grid of gross profit values for each valid combination of the two input arrays, the formula used, units, a report of any invalid input combinations, and limitations of the calculation. Up to 100 combinations (10×10 maximum grid).","failureModes":["Both field_x and field_y set to the same axis value causing degenerate grid","Invalid combination flagged when cost_of_sales exceeds allowable bounds relative to revenue","Array lengths exceeding 10 items per axis rejected","Values outside the ±1,000,000,000,000 range rejected","Payment failure due to insufficient USDC balance"],"whenToPreferThis":"Choose this endpoint when you need a structured two-dimensional sensitivity table for gross profit across multiple revenue and cost-of-sales combinations simultaneously — particularly useful for financial planning, pricing analysis, or stress-testing margin assumptions. Prefer it over single-value calculators when you want a full grid of outcomes in one call rather than making repeated single-scenario requests.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-22T12:48:54.030Z","isFirstParty":false,"canonicalSlug":"gross-profit-two-input-scenario-grid-calculator-d6fb400d"}