{"ok":true,"data":{"tool":{"slug":"gross-margin-calculator","name":"Gross Margin Calculator","section":"calculators","category":"Finance","subcategory":"Business & Profitability","url":"/calculators/business-and-profitability/gross-margin-calculator/","status":"live","api_mode":"not_available","webmcp_mode":"navigate_only","processing_mode":"client-side","privacy_mode":"no-data-stored","summary":"Calculate gross profit, gross margin percentage, and cost ratio from net sales and cost of goods sold.","input_schema":{"type":"object","properties":{"net_sales":{"type":"number","description":"Enter the net sales revenue used in the calculation.","minimum":0},"cost_of_goods_sold":{"type":"number","description":"Enter the cost of goods sold used in the calculation.","minimum":0}},"required":["net_sales","cost_of_goods_sold"],"additionalProperties":false},"output_schema":{"type":"object","properties":{"gross_profit":{"type":"number","description":"Gross profit produced by the calculation."},"gross_margin":{"type":"number","description":"Gross margin produced by the calculation."},"cost_ratio":{"type":"number","description":"Cost of goods sold ratio produced by the calculation."},"revenue":{"type":"number","description":"Net sales revenue produced by the calculation."}},"additionalProperties":false},"examples":[{"title":"Gross Margin Calculator example","description":null,"input":{"net_sales":125000,"cost_of_goods_sold":78000},"output":{"gross_profit":47000,"gross_margin":37.60000000000000142108547152020037174224853515625,"cost_ratio":62.39999999999999857891452847979962825775146484375,"revenue":125000}}],"capability":null}},"meta":{"api_status":"preview","execution":"unavailable"},"request_id":"3cd19233d1a3d427fccd2705"}