{"uid":"cap__F4sY71Ac77TVhkwtl9oO","slug":"operating-margin-weighted-result-mean-calculator-b4200372","name":"Operating Margin Weighted Result Mean Calculator","description":"Operating margin - Weighted result mean: Calculate a mean of up to 200 results using supplied nonnegative weights; not a pooled accounting ratio. 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 weighted result mean report.","url":"https://market.datapackvibe.com/x402/assistant-finance-operating-margin-weighted-mean?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","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},"default":[{"revenue":10000,"operating_profit":2000},{"revenue":11000,"operating_profit":2200},{"revenue":10000,"operating_profit":2000},{"revenue":11000,"operating_profit":2200}],"maxItems":200,"minItems":2},"weights":{"type":"array","items":{"type":"number","default":1,"maximum":1000000000000,"minimum":0},"default":[1,2,1,2],"maxItems":200,"minItems":2}}},"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_WRyHTP4y2L1TI3HQ2Z9qS","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 weighted mean of operating margin figures across up to 200 data rows using user-supplied nonnegative weights","exampleAgentPrompt":"Calculate the weighted mean operating margin for these four quarters: Q1 had revenue $10,000 and operating profit $2,000, Q2 had revenue $11,000 and profit $2,200, Q3 had revenue $10,000 and profit $2,000, Q4 had revenue $11,000 and profit $2,200 — weight them 1, 2, 1, 2 so the larger quarters count more.","exampleUseCases":[{"title":"Quarterly margin trend with recency weighting","prompt":"I have operating margin data for four quarters — revenues of $10M, $11M, $12M, $13M with operating profits of $1.5M, $1.8M, $2.0M, $2.4M — please compute the weighted mean operating margin giving each quarter increasing weight of 1, 2, 3, 4 so the most recent quarter matters most."},{"title":"Multi-segment profitability summary","prompt":"We have five business segments with different sizes — can you calculate the weighted average operating margin across them? Revenues are $5M, $20M, $8M, $15M, $2M with operating profits of $500K, $3M, $900K, $1.8M, $100K, and weight them by revenue importance: 1, 4, 1.5, 3, 0.5."},{"title":"Subsidiary consolidation weighted margin","prompt":"I'm consolidating results from three subsidiaries and want a weighted mean operating margin — subsidiary A: revenue $50M profit $8M weight 2, subsidiary B: revenue $30M profit $3M weight 1, subsidiary C: revenue $80M profit $14M weight 3. Can you run the weighted mean calculation and show me the formula?"}],"resultDescription":"A JSON response containing the weighted mean operating margin value computed from the supplied rows and weights, along with the formula used, units, and stated limitations of the calculation (e.g. not a pooled accounting ratio, based solely on supplied figures).","failureModes":["Fewer than 2 rows or weights provided — validation error","Weights array length does not match rows array length — mismatch error","Revenue values are zero or negative — exclusiveMinimum violation","Weights contain negative numbers — minimum constraint violation","More than 200 rows supplied — maxItems exceeded","Revenue or profit values exceed the 1,000,000,000,000 maximum — range error"],"whenToPreferThis":"Choose this endpoint when you need a statistically weighted mean of operating margins across multiple periods, segments, or entities where different observations should carry different importance — as opposed to a simple average or a pooled accounting ratio. It is ideal for weighting recent periods more heavily, weighting by segment size, or applying analyst-defined importance weights to up to 200 data points.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:58:32.926Z","isFirstParty":false,"canonicalSlug":"operating-margin-weighted-result-mean-calculator-b4200372"}