{"uid":"cap_IVxRanjk2-h6cdo1fIaLA","slug":"operating-profit-weighted-mean-calculator-18a30ebd","name":"Operating Profit Weighted Mean Calculator","description":"Operating profit - Weighted result mean: Calculate a mean of up to 200 results using supplied nonnegative weights; not a pooled accounting ratio. Metric: Operating 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 weighted result mean report.","url":"https://market.datapackvibe.com/x402/assistant-finance-operating-profit-weighted-mean?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rows":{"type":"array","items":{"type":"object","required":["revenue","cost_of_sales","operating_expenses"],"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"},"operating_expenses":{"type":"number","default":2000,"maximum":1000000000000,"minimum":0,"description":"Amount in a consistent supplied currency and reporting period"}},"additionalProperties":false},"default":[{"revenue":10000,"cost_of_sales":6000,"operating_expenses":2000},{"revenue":11000,"cost_of_sales":6600.000000000001,"operating_expenses":2200},{"revenue":10000,"cost_of_sales":6000,"operating_expenses":2000},{"revenue":11000,"cost_of_sales":6600.000000000001,"operating_expenses":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_D6KbF4tdhJitZaRyqqEvH","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 profit across up to 200 supplied data rows using user-defined nonnegative weights.","exampleAgentPrompt":"Calculate the weighted mean operating profit across these 3 periods: Period 1 had revenue $500,000, cost of sales $300,000, operating expenses $80,000 with weight 1; Period 2 had revenue $520,000, cost of sales $310,000, operating expenses $85,000 with weight 2; Period 3 had revenue $550,000, cost of sales $320,000, operating expenses $90,000 with weight 3 — give me the weighted result with the formula used.","exampleUseCases":[{"title":"Recency-weighted quarterly profit summary","prompt":"I have four quarters of operating data and want to weight the most recent quarter three times as heavily as the oldest. Q1: revenue $1M, COGS $600K, opex $200K, weight 1; Q2: revenue $1.1M, COGS $660K, opex $210K, weight 2; Q3: revenue $1.2M, COGS $700K, opex $220K, weight 3; Q4: revenue $1.3M, COGS $750K, opex $230K, weight 4. What's the weighted mean operating profit?"},{"title":"Multi-subsidiary blended profit analysis","prompt":"We have three subsidiaries with different revenue volumes and I want to weight them by headcount. Subsidiary A: revenue $800K, cost of sales $400K, operating expenses $150K, weight 200; Subsidiary B: revenue $2M, cost of sales $1.1M, operating expenses $300K, weight 500; Subsidiary C: revenue $500K, cost of sales $280K, operating expenses $90K, weight 120. Give me the weighted mean operating profit with the formula shown."},{"title":"Equal-weight operating profit baseline","prompt":"I have five monthly snapshots of the same business unit and want an equal-weighted mean operating profit as a baseline: Month 1 rev $200K, COGS $120K, opex $40K; Month 2 rev $210K, COGS $125K, opex $42K; Month 3 rev $195K, COGS $118K, opex $39K; Month 4 rev $220K, COGS $130K, opex $44K; Month 5 rev $215K, COGS $127K, opex $43K — all weights equal to 1."}],"resultDescription":"A JSON response containing the weighted mean operating profit value computed from the supplied rows and weights, along with the formula used, the currency/units assumed, and a statement of limitations (e.g. that figures are user-supplied only, no live data, and this is not a pooled accounting ratio).","failureModes":["Mismatched array lengths between rows and weights returns a validation error","Fewer than 2 rows supplied triggers a minItems validation error","Negative weight values rejected by schema (minimum 0)","Values exceeding ±1,000,000,000,000 rejected by schema bounds","Missing required fields (revenue, cost_of_sales, operating_expenses) in any row causes a schema validation failure","Payment failure or insufficient USDC balance prevents execution"],"whenToPreferThis":"Choose this endpoint when you need a statistically weighted central tendency of operating profit across multiple periods, business units, or scenarios using your own supplied figures — particularly when periods or units have unequal importance or sample sizes. Prefer it over simple arithmetic means when recency, volume, or reliability weighting matters. Not suitable for retrieving live financial data, computing pooled accounting ratios, or deriving operating profit from raw ledger entries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:58:36.467Z","isFirstParty":false,"canonicalSlug":"operating-profit-weighted-mean-calculator-18a30ebd"}