1:"$Sreact.fragment"
2:I[10156,[],""]
3:I[6746,[],""]
4:I[76837,["9310","static/chunks/f8d55a4d-f82e876c81147bfd.js","7821","static/chunks/7821-fecf606f47f1f58d.js","8963","static/chunks/8963-69c253eec8d741c5.js","104","static/chunks/104-e8a10a728f64230d.js","3374","static/chunks/3374-cffcb39c106cc278.js","6344","static/chunks/6344-f0148458c0499269.js","2043","static/chunks/2043-cb8fa44c52a8f8b9.js","9559","static/chunks/app/(frontend)/layout-42f64306bd0733c5.js"],"default"]
5:I[32043,["9310","static/chunks/f8d55a4d-f82e876c81147bfd.js","7821","static/chunks/7821-fecf606f47f1f58d.js","8963","static/chunks/8963-69c253eec8d741c5.js","104","static/chunks/104-e8a10a728f64230d.js","3374","static/chunks/3374-cffcb39c106cc278.js","6344","static/chunks/6344-f0148458c0499269.js","2043","static/chunks/2043-cb8fa44c52a8f8b9.js","9559","static/chunks/app/(frontend)/layout-42f64306bd0733c5.js"],"default"]
6:I[67821,["9310","static/chunks/f8d55a4d-f82e876c81147bfd.js","6956","static/chunks/66a6e935-aee5d3cb85c323ac.js","7821","static/chunks/7821-fecf606f47f1f58d.js","8963","static/chunks/8963-69c253eec8d741c5.js","9858","static/chunks/9858-f1918ded0530ca69.js","609","static/chunks/609-95e41ae6a69b88b2.js","2456","static/chunks/2456-94cb89c116d69dd0.js","994","static/chunks/994-2c56ebb2d663b523.js","6472","static/chunks/6472-2ee935ddbae5821a.js","3349","static/chunks/app/(frontend)/calculators/%5Bcategory%5D/%5Bslug%5D/page-70bb6ad84377852d.js"],""]
1a:I[14600,[],"default",1]
:HL["/_next/static/media/849c382dee069680-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
:HL["/_next/static/media/e4af272ccee01ff0-s.p.woff2","font",{"crossOrigin":"","type":"font/woff2"}]
:HL["/_next/static/css/60d9b09af57ce3c6.css","style"]
:HL["/_next/static/css/9c59f2e83b7f05d1.css","style"]
0:{"P":null,"c":["","calculators","finance","cogs-calculator.rsc"],"q":"","i":false,"f":[[["",{"children":["(frontend)",{"children":["calculators",{"children":[["category","finance","d",null],{"children":[["slug","cogs-calculator","d",null],{"children":["__PAGE__",{}]}]}]}]},"$undefined","$undefined",16]}],[["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":404}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]]}],{"children":[["$","$1","c",{"children":[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/60d9b09af57ce3c6.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}],["$","link","1",{"rel":"stylesheet","href":"/_next/static/css/9c59f2e83b7f05d1.css","precedence":"next","crossOrigin":"$undefined","nonce":"$undefined"}]],["$","html",null,{"lang":"en","data-scroll-behavior":"smooth","children":[["$","body",null,{"className":"bg-white antialiased dark:bg-mist-950 __variable_f367f3 __variable_008b00","suppressHydrationWarning":true,"children":[["$","div",null,{"className":"flex min-h-screen flex-col justify-between","children":[["$","$L4",null,{}],["$","$L5",null,{"children":["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","main",null,{"className":"isolate overflow-clip","children":["$","section",null,{"className":"py-16","children":["$","div",null,{"className":"mx-auto w-full max-w-2xl px-6 md:max-w-3xl lg:max-w-7xl lg:px-10 flex flex-col items-center gap-6","children":[["$","h1",null,{"className":"font-display text-5xl/12 tracking-tight text-balance sm:text-[5rem]/20 text-mist-950 dark:text-white max-w-5xl text-center","children":"Page not found"}],["$","div",null,{"className":"text-lg/8 text-mist-700 dark:text-mist-400 max-w-xl text-center","children":["$","p",null,{"children":"Sorry, the page you were looking for could not be found."}]}],["$","$L6",null,{"href":"/","className":"inline-flex items-center gap-2 text-sm/7 font-medium text-mist-950 dark:text-white","children":["Go back home ",["$","svg",null,{"width":13,"height":7,"viewBox":"0 0 13 7","fill":"none","strokeWidth":1,"role":"image","className":"inline-block","children":[["$","path",null,{"d":"M12.5049 3.49512L0.504883 3.49512","stroke":"currentColor","strokeLinecap":"round","strokeLinejoin":"round"}],["$","path",null,{"d":"M9.5 6.5L12.5 3.5L9.5 0.5","stroke":"currentColor","strokeLinecap":"round","strokeLinejoin":"round"}]]}]]}]]}]}]}],[]],"forbidden":"$undefined","unauthorized":"$undefined"}]}],["$","footer",null,{"children":["$","div",null,{"className":"bg-mist-950/2.5 py-16 text-mist-950 dark:bg-white/5 dark:text-white","children":["$","div",null,{"className":"mx-auto w-full max-w-2xl px-6 md:max-w-3xl lg:max-w-7xl lg:px-10 flex flex-col gap-12","children":[["$","div",null,{"className":"flex flex-col items-start justify-between gap-6 sm:flex-row","children":[["$","div",null,{"className":"flex flex-col items-start gap-2","children":[["$","$L6",null,{"href":"/","children":["$","svg",null,{"className":"h-5 w-auto","xmlns":"http://www.w3.org/2000/svg","width":742,"height":68,"viewBox":"0 0 742 68","fill":"none","children":[["$","path",null,{"fill":"#161616","d":"M129.5 41.4c0-13 10.5-23.4 23.4-23.4 12.9 0 23.3 10.4 23.3 23.4v22.7h-11.8v-4.8c-1.4 3-6.3 5.5-11.5 5.5-12.9 0-23.4-10.4-23.4-23.4Zm35 0c0-6.7-4.8-11.9-11.5-11.9s-11.7 5.2-11.7 11.9 5 11.9 11.7 11.9c6.7 0 11.5-5.2 11.5-11.9ZM181.2 41.4c0-13 10.4-23.4 23.4-23.4 13 0 19.8 7.2 22.5 16.9h-12.5c-2-3.3-5.5-5.4-9.9-5.4-6.7 0-11.7 5.2-11.7 11.9s5 11.9 11.7 11.9c6.7 0 7.4-2 9.5-5H227c-2.9 9.6-11.8 16.5-22.4 16.5-10.6 0-23.4-10.4-23.4-23.4ZM248.3 30.3v12.4c0 7.3 2.4 10.2 8.2 10.2v11.5c-11.6 0-19.9-6.4-19.9-21.7V30.3h-6.7V18.8h6.6V1.1h11.8v17.7h8.3v11.5H248.3ZM274 18.7h-11.8V64H274V18.7ZM277.8 18.7h12.3l10.3 29.8 10.4-29.8h12.3L306.2 64h-11.8l-16.8-45.3h.2ZM345.8 18c11.2 0 23.2 8 23.7 22.4 0 2.1 0 4.1-.4 5.6h-33.6c1.1 4.5 5.1 7.3 10.3 7.3 5.2 0 6.3-1.5 7.8-2.6h14c-3.6 8.3-11.9 14.1-21.5 14.1s-23.4-10.4-23.4-23.3 10-23.5 23-23.5h.1Zm11 18.6c-1.8-4.3-6.2-7.1-10.7-7.1-4.5 0-8.9 2.8-10.7 7.1h21.4Z"}],"$L7","$L8","$L9","$La","$Lb","$Lc"]}]}],"$Ld"]}],"$Le"]}],"$Lf","$L10"]}]}]}]]}],"$L11","$L12"]}],"$L13"]}]]}],{"children":["$L14",{"children":["$L15",{"children":["$L16",{"children":["$L17",{},null,false,null]},null,false,"$@18"]},null,false,"$@18"]},null,false,"$@18"]},null,false,null]},null,false,"$@18"],"$L19",false]],"m":"$undefined","G":["$1a",[]],"S":true,"h":null,"b":"qKrY2dUw1szY2xJfsSyIe"}
1c:I[14245,["9310","static/chunks/f8d55a4d-f82e876c81147bfd.js","7821","static/chunks/7821-fecf606f47f1f58d.js","8963","static/chunks/8963-69c253eec8d741c5.js","104","static/chunks/104-e8a10a728f64230d.js","3374","static/chunks/3374-cffcb39c106cc278.js","6344","static/chunks/6344-f0148458c0499269.js","2043","static/chunks/2043-cb8fa44c52a8f8b9.js","9559","static/chunks/app/(frontend)/layout-42f64306bd0733c5.js"],"Button"]
22:I[46726,["9310","static/chunks/f8d55a4d-f82e876c81147bfd.js","7821","static/chunks/7821-fecf606f47f1f58d.js","8963","static/chunks/8963-69c253eec8d741c5.js","104","static/chunks/104-e8a10a728f64230d.js","3374","static/chunks/3374-cffcb39c106cc278.js","6344","static/chunks/6344-f0148458c0499269.js","2043","static/chunks/2043-cb8fa44c52a8f8b9.js","9559","static/chunks/app/(frontend)/layout-42f64306bd0733c5.js"],"default"]
23:I[19592,["9310","static/chunks/f8d55a4d-f82e876c81147bfd.js","6956","static/chunks/66a6e935-aee5d3cb85c323ac.js","7821","static/chunks/7821-fecf606f47f1f58d.js","8963","static/chunks/8963-69c253eec8d741c5.js","9858","static/chunks/9858-f1918ded0530ca69.js","609","static/chunks/609-95e41ae6a69b88b2.js","6344","static/chunks/6344-f0148458c0499269.js","2456","static/chunks/2456-94cb89c116d69dd0.js","994","static/chunks/994-2c56ebb2d663b523.js","6472","static/chunks/6472-2ee935ddbae5821a.js","2018","static/chunks/app/(frontend)/%5B...slug%5D/page-dcf70230194846a1.js"],""]
24:I[79066,["9310","static/chunks/f8d55a4d-f82e876c81147bfd.js","6956","static/chunks/66a6e935-aee5d3cb85c323ac.js","7821","static/chunks/7821-fecf606f47f1f58d.js","8963","static/chunks/8963-69c253eec8d741c5.js","9858","static/chunks/9858-f1918ded0530ca69.js","609","static/chunks/609-95e41ae6a69b88b2.js","6344","static/chunks/6344-f0148458c0499269.js","2456","static/chunks/2456-94cb89c116d69dd0.js","994","static/chunks/994-2c56ebb2d663b523.js","6472","static/chunks/6472-2ee935ddbae5821a.js","2018","static/chunks/app/(frontend)/%5B...slug%5D/page-dcf70230194846a1.js"],"GoogleTagManager"]
26:I[85305,[],"OutletBoundary"]
27:"$Sreact.suspense"
2a:I[85305,[],"ViewportBoundary"]
2c:I[85305,[],"MetadataBoundary"]
1b:T5a9,M373.9 41.4c0-13 10.5-23.4 23.4-23.4 12.9 0 16.9 5.3 20.6 12.8h-6.3c-3.2-4.4-8.2-7.3-14.2-7.3-10 0-17.7 7.9-17.7 17.9 0 10 7.9 17.9 17.7 17.9 9.8 0 11.1-3 14.2-7.3h6.4c-3.7 7.6-11.6 12.9-20.8 12.9-9.2 0-23.4-10.4-23.4-23.4l.1-.1ZM422.7 41.4c0-13 10.5-23.4 23.4-23.4 12.9 0 23.3 10.4 23.3 23.4v22.7h-5.8v-9.7c-3 6-9.8 10.4-17.5 10.4-12.9 0-23.4-10.4-23.4-23.4Zm41 0c0-10-7.5-17.9-17.5-17.9s-17.7 7.9-17.7 17.9c0 10 7.9 17.9 17.7 17.9 9.8 0 17.5-7.9 17.5-17.9ZM475.7 64.1V.7h5.8v63.4h-5.8ZM486.5 41.4c0-13 10.5-23.4 23.4-23.4 12.9 0 16.9 5.3 20.6 12.8h-6.3c-3.2-4.4-8.2-7.3-14.2-7.3-10 0-17.7 7.9-17.7 17.9 0 10 7.9 17.9 17.7 17.9 9.8 0 11.1-3 14.2-7.3h6.4c-3.7 7.6-11.6 12.9-20.8 12.9-9.2 0-23.4-10.4-23.4-23.4l.1-.1ZM575.6 18.7v23.8c0 15.2-8.3 22.2-19.9 22.2-11.6 0-19.9-7-19.9-22.2V18.7h5.8v23.8c0 11.3 5.7 16.7 14.1 16.7 8.4 0 14.1-5.3 14.1-16.7V18.7h5.8ZM581.9 64.1V.7h5.8v63.4h-5.8ZM592.7 41.4c0-13 10.5-23.4 23.4-23.4 12.9 0 23.3 10.4 23.3 23.4v22.7h-5.8v-9.7c-3 6-9.8 10.4-17.5 10.4-12.9 0-23.4-10.4-23.4-23.4Zm41 0c0-10-7.5-17.9-17.5-17.9s-17.7 7.9-17.7 17.9c0 10 7.9 17.9 17.7 17.9 9.8 0 17.5-7.9 17.5-17.9ZM652.5 24.3v18.2c0 10.1 4.4 15.1 11.4 16.2v5.6c-10.2-1-17.2-7.8-17.2-21.7V24.2h-6.8v-5.5h6.8V4.4h5.8v14.3h11.4v5.5h-11.4v.1ZM712 41.4c0 13-10.4 23.4-23.4 23.4-13 0-23.4-10.4-23.4-23.4 0-13 10.5-23.4 23.4-23.4 12.9 0 23.4 10.4 23.4 23.4Zm-41 0c0 10 7.9 17.9 17.7 17.9 9.8 0 17.5-7.9 17.5-17.9 0-10-7.5-17.9-17.5-17.9S671 31.4 671 41.4Z7:["$","path",null,{"fill":"#262626","d":"$1b"}]
8:["$","path",null,{"fill":"#09C269","d":"M274 1.1h-11.8v11.8H274V1.1Z"}]
9:["$","path",null,{"fill":"#161616","d":"M248.2 1.1v17.6L236.4 1.1h11.8Z"}]
a:["$","path",null,{"fill":"#09C269","d":"M65.2 47.1c-4.1-5.4-2.8-11.8-4.4-18-1.1-4.2-3.1-8.2-5.8-11.6-.7-.9-1.5-1.8-2.3-2.6-5.6-5.6-13.3-9-21.8-9C13.1 5.9-1.1 21 .2 39c1.3 18 13 26.9 27.9 28.2 9.6.8 18.4-2.8 24.6-9l-.4-.4c-3-3.8-5.1-8-6.3-12.6-3.3 5.7-9.7 9.4-16.8 8.7-8.1-.8-14.7-7.3-15.6-15.3-.9-8 7-19.4 17.3-19.4S43 22.7 46 27.9c2.6 4.6 2 9.6 3 14.6.9 4.8 2.9 9.3 6 13.2 5.6 7.1 14.3 11.6 24 11.6h30.8V55.2H82.1c-6.3 0-12.4-2.7-16.4-7.5-.2-.2-.4-.5-.6-.7l.1.1Z"}]
b:["$","path",null,{"fill":"#09C269","d":"M64 27.9c3-5.2 8.6-8.8 15.1-8.8 9.6 0 17.4 7.8 17.4 17.4h13.4c0-17-13.8-30.8-30.8-30.8s-16.2 3.5-21.8 9.1l.4.5c3 3.8 5.1 8 6.3 12.6Z"}]
c:["$","path",null,{"fill":"#262626","d":"M717.3 40.6c0-15.5 7.9-22.6 19.1-22.6h1.4v5.7h-1.4c-7.8 0-13.1 5.4-13.1 16.9v24.2h-6V40.6Z"}]
d:["$","p",null,{"className":"text-sm text-mist-600 dark:text-mist-400","children":"Interactive calculators that convert visitors into leads."}]
e:["$","$L1c",null,{"el":"a","href":"https://app.activecalculator.com/auth/signup","appearance":"default","label":"Get started free","data-umami-event":"click-cta-footer","data-umami-event-location":"footer"}]
f:["$","nav",null,{"className":"grid grid-cols-2 gap-6 text-sm/7 md:grid-cols-4","children":[["$","div","Use Cases",{"children":[["$","h3",null,{"children":"Use Cases"}],["$","ul",null,{"role":"list","className":"mt-2 flex flex-col gap-2","children":[["$","li","E-Commerce & Retail",{"className":"text-mist-700 dark:text-mist-400","children":["$","$L6",null,{"href":"/templates/category/e-commerce","className":"transition-colors hover:text-mist-950 dark:hover:text-white","children":"E-Commerce & Retail"}]}],["$","li","Finance",{"className":"text-mist-700 dark:text-mist-400","children":["$","$L6",null,{"href":"/templates/category/finance","className":"transition-colors hover:text-mist-950 dark:hover:text-white","children":"Finance"}]}],["$","li","Unit Conversion",{"className":"text-mist-700 dark:text-mist-400","children":["$","$L6",null,{"href":"/templates/category/unit-conversion","className":"transition-colors hover:text-mist-950 dark:hover:text-white","children":"Unit Conversion"}]}],["$","li","Price Quote",{"className":"text-mist-700 dark:text-mist-400","children":["$","$L6",null,{"href":"/templates/category/price-quote","className":"transition-colors hover:text-mist-950 dark:hover:text-white","children":"Price Quote"}]}]]}],[["$","div","Industries",{"className":"mt-6","children":[["$","h3",null,{"children":"Industries"}],["$","ul",null,{"role":"list","className":"mt-2 flex flex-col gap-2","children":[["$","li","Screen Printing",{"className":"text-mist-700 dark:text-mist-400","children":["$","$L6",null,{"href":"/industries/screen-printing","className":"transition-colors hover:text-mist-950 dark:hover:text-white","children":"Screen Printing"}]}],["$","li","Mortgage Brokers",{"className":"text-mist-700 dark:text-mist-400","children":["$","$L6",null,{"href":"/industries/mortgage-brokers","className":"transition-colors hover:text-mist-950 dark:hover:text-white","children":"Mortgage Brokers"}]}],["$","li","Solar Energy",{"className":"text-mist-700 dark:text-mist-400","children":["$","$L6",null,{"href":"/industries/solar-energy","className":"transition-colors hover:text-mist-950 dark:hover:text-white","children":"Solar Energy"}]}]]}]]}]]]}],["$","div","Templates",{"children":[["$","h3",null,{"children":"Templates"}],["$","ul",null,{"role":"list","className":"mt-2 flex flex-col gap-2","children":[["$","li","Ad Spend ROI Calculator",{"className":"text-mist-700 dark:text-mist-400","children":["$","$L6",null,{"href":"/templates/ad-spend-roi-calculator","className":"transition-colors hover:text-mist-950 dark:hover:text-white","children":"Ad Spend ROI Calculator"}]}],["$","li","Amortization Payment Calculator Canada",{"className":"text-mist-700 dark:text-mist-400","children":["$","$L6",null,{"href":"/templates/amortization-payment-calculator-canada","className":"transition-colors hover:text-mist-950 dark:hover:text-white","children":"Amortization Payment Calculator Canada"}]}],["$","li","Amortization Calculator",{"className":"text-mist-700 dark:text-mist-400","children":["$","$L6",null,{"href":"/templates/amortization-calculator","className":"transition-colors hover:text-mist-950 dark:hover:text-white","children":"Amortization Calculator"}]}],["$","li","Balloon Loan Calculator Lead Gen",{"className":"text-mist-700 dark:text-mist-400","children":["$","$L6",null,{"href":"/templates/balloon-loan-calculator-lead-gen","className":"transition-colors hover:text-mist-950 dark:hover:text-white","children":"Balloon Loan Calculator Lead Gen"}]}]]}],"$undefined"]}],["$","div","Product",{"children":[["$","h3",null,{"children":"Product"}],["$","ul",null,{"role":"list","className":"mt-2 flex flex-col gap-2","children":[["$","li","Templates",{"className":"text-mist-700 dark:text-mist-400","children":["$","$L6",null,{"href":"/templates","className":"transition-colors hover:text-mist-950 dark:hover:text-white","children":"Templates"}]}],["$","li","Calculators",{"className":"text-mist-700 dark:text-mist-400","children":["$","$L6",null,{"href":"/calculators","className":"transition-colors hover:text-mist-950 dark:hover:text-white","children":"Calculators"}]}],["$","li","Pricing",{"className":"text-mist-700 dark:text-mist-400","children":"$L1d"}],"$L1e","$L1f","$L20"]}],"$undefined"]}],"$L21"]}]
10:["$","div",null,{"className":"flex flex-col items-start justify-between gap-4 border-t border-mist-950/10 pt-8 text-sm/7 sm:flex-row sm:items-center dark:border-white/10","children":[["$","div",null,{"className":"flex flex-wrap items-center gap-x-4 gap-y-1 text-mist-600 dark:text-mist-500","children":[["$","span",null,{"children":["© ",2026," ActiveCalculator."]}],[["$","$L6","Privacy Policy",{"href":"/privacy","className":"transition-colors hover:text-mist-950 dark:hover:text-white","children":"Privacy Policy"}],["$","$L6","Terms of Service",{"href":"/terms","className":"transition-colors hover:text-mist-950 dark:hover:text-white","children":"Terms of Service"}]]]}],["$","div",null,{"className":"flex items-center gap-4","children":[["$","a","X",{"href":"https://twitter.com/activecalculator","target":"_blank","rel":"noopener noreferrer","aria-label":"X","data-umami-event":"click-social","data-umami-event-location":"footer","data-umami-event-target":"x","className":"text-mist-600 transition-colors *:size-5 hover:text-mist-950 dark:text-mist-500 dark:hover:text-white","children":["$","svg",null,{"width":24,"height":24,"viewBox":"0 0 24 24","fill":"currentColor","role":"image","className":"inline-block","children":["$","path",null,{"d":"M13.6833 10.6218L20.2401 3H18.6864L12.9931 9.61788L8.44583 3H3.20117L10.0775 13.0074L3.20117 21H4.75501L10.7673 14.0113L15.5695 21H20.8141L13.6833 10.6218ZM11.5551 13.0956L10.8584 12.0991L5.31488 4.16971H7.7015L12.1752 10.5689L12.8719 11.5655L18.6871 19.8835H16.3005L11.5551 13.0956Z"}]}]}],["$","a","LinkedIn",{"href":"https://linkedin.com/company/activecalculator","target":"_blank","rel":"noopener noreferrer","aria-label":"LinkedIn","data-umami-event":"click-social","data-umami-event-location":"footer","data-umami-event-target":"linkedin","className":"text-mist-600 transition-colors *:size-5 hover:text-mist-950 dark:text-mist-500 dark:hover:text-white","children":["$","svg",null,{"width":24,"height":24,"viewBox":"0 0 24 24","fill":"currentColor","role":"image","className":"inline-block","children":["$","path",null,{"d":"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"}]}]}],["$","a","YouTube",{"href":"https://youtube.com/@activecalculator","target":"_blank","rel":"noopener noreferrer","aria-label":"YouTube","data-umami-event":"click-social","data-umami-event-location":"footer","data-umami-event-target":"youtube","className":"text-mist-600 transition-colors *:size-5 hover:text-mist-950 dark:text-mist-500 dark:hover:text-white","children":["$","svg",null,{"width":24,"height":24,"viewBox":"0 0 24 24","fill":"currentColor","role":"image","className":"inline-block","children":["$","path",null,{"fillRule":"evenodd","d":"M19.812 5.418c.861.23 1.538.907 1.768 1.768C21.998 8.746 22 12 22 12s0 3.255-.418 4.814a2.504 2.504 0 0 1-1.768 1.768c-1.56.419-7.814.419-7.814.419s-6.255 0-7.814-.419a2.505 2.505 0 0 1-1.768-1.768C2 15.255 2 12 2 12s0-3.255.417-4.814a2.507 2.507 0 0 1 1.768-1.768C5.744 5 11.998 5 11.998 5s6.255 0 7.814.418ZM15.194 12 10 15V9l5.194 3Z","clipRule":"evenodd"}]}]}]]}]]}]
11:["$","$L22",null,{}]
12:["$","$L23",null,{"defer":true,"src":"https://analytics.selvo.co/script.js","data-website-id":"20975f57-f91a-4d7f-a72e-bc1f75a733ed","strategy":"afterInteractive"}]
13:["$","$L24",null,{"gtmId":"GTM-N55KJQ5L"}]
14:["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}]
15:["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}]
16:["$","$1","c",{"children":[null,["$","$L2",null,{"parallelRouterKey":"children","error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L3",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","forbidden":"$undefined","unauthorized":"$undefined"}]]}]
17:["$","$1","c",{"children":["$L25",null,["$","$L26",null,{"children":["$","$27",null,{"name":"Next.MetadataOutlet","children":"$@28"}]}]]}]
29:[]
18:"$W29"
19:["$","$1","h",{"children":[null,["$","$L2a",null,{"children":"$L2b"}],["$","div",null,{"hidden":true,"children":["$","$L2c",null,{"children":["$","$27",null,{"name":"Next.Metadata","children":"$L2d"}]}]}],["$","meta",null,{"name":"next-size-adjust","content":""}]]}]
1d:["$","$L6",null,{"href":"/pricing","className":"transition-colors hover:text-mist-950 dark:hover:text-white","children":"Pricing"}]
1e:["$","li","Help",{"className":"text-mist-700 dark:text-mist-400","children":["$","$L6",null,{"href":"/help","className":"transition-colors hover:text-mist-950 dark:hover:text-white","children":"Help"}]}]
1f:["$","li","API",{"className":"text-mist-700 dark:text-mist-400","children":["$","$L6",null,{"href":"https://docs.activecalculator.com/api-reference","target":"_blank","rel":"noopener noreferrer","className":"transition-colors hover:text-mist-950 dark:hover:text-white","children":"API"}]}]
20:["$","li","Embed SDK JS",{"className":"text-mist-700 dark:text-mist-400","children":["$","$L6",null,{"href":"https://docs.activecalculator.com/sdks/embed-sdk/overview","target":"_blank","rel":"noopener noreferrer","className":"transition-colors hover:text-mist-950 dark:hover:text-white","children":"Embed SDK JS"}]}]
21:["$","div","Resources",{"children":[["$","h3",null,{"children":"Resources"}],["$","ul",null,{"role":"list","className":"mt-2 flex flex-col gap-2","children":[["$","li","Terms",{"className":"text-mist-700 dark:text-mist-400","children":["$","$L6",null,{"href":"/terms","className":"transition-colors hover:text-mist-950 dark:hover:text-white","children":"Terms"}]}],["$","li","Privacy",{"className":"text-mist-700 dark:text-mist-400","children":["$","$L6",null,{"href":"/privacy","className":"transition-colors hover:text-mist-950 dark:hover:text-white","children":"Privacy"}]}],["$","li","Book a Call",{"className":"text-mist-700 dark:text-mist-400","children":["$","$L6",null,{"href":"/demo","className":"transition-colors hover:text-mist-950 dark:hover:text-white","children":"Book a Call"}]}],["$","li","Contact",{"className":"text-mist-700 dark:text-mist-400","children":["$","$L6",null,{"href":"/contact","className":"transition-colors hover:text-mist-950 dark:hover:text-white","children":"Contact"}]}],["$","li","Selvo",{"className":"text-mist-700 dark:text-mist-400","children":["$","$L6",null,{"href":"https://selvo.co","target":"_blank","rel":"noopener noreferrer","className":"transition-colors hover:text-mist-950 dark:hover:text-white","children":"Selvo"}]}]]}],"$undefined"]}]
2b:[["$","meta","0",{"charSet":"utf-8"}],["$","meta","1",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","2",{"name":"theme-color","content":"#fff"}]]
2e:T1233,{"@type":"FAQPage","mainEntity":[{"name":"What is cost of goods sold (COGS)?","@type":"Question","acceptedAnswer":{"@type":"Answer","text":"COGS is the total direct cost of the products your business sold during a specific period. It includes raw materials, direct labor, manufacturing overhead, and freight to receive the goods. It does not include indirect costs like marketing, office rent, or administrative salaries. COGS appears on your income statement and is subtracted from revenue to determine gross profit."}},{"name":"How do you calculate COGS?","@type":"Question","acceptedAnswer":{"@type":"Answer","text":"COGS = Beginning Inventory + Purchases − Ending Inventory. You start with the value of inventory on hand at the beginning of the period, add everything you bought or produced, then subtract what's still unsold at the end. The difference is the cost of the goods that were sold."}},{"name":"What's the difference between COGS and operating expenses?","@type":"Question","acceptedAnswer":{"@type":"Answer","text":"COGS covers costs directly tied to the products — materials, production labor, factory overhead. Operating expenses cover everything else: rent, marketing, admin salaries, office supplies. Both reduce your profit, but they hit different lines on your income statement. COGS comes out first (giving you gross profit), then operating expenses are subtracted (giving you operating profit)."}},{"name":"Do service businesses have COGS?","@type":"Question","acceptedAnswer":{"@type":"Answer","text":"Yes, though it's typically called \"cost of services\" or \"cost of revenue.\" For a consulting firm, this might include consultant salaries and travel costs for client engagements. For a web agency, it could include developer salaries, hosting for client projects, and licensed software. The same principle applies — direct costs of delivering what you sold."}},{"name":"How often should I calculate COGS?","@type":"Question","acceptedAnswer":{"@type":"Answer","text":"Monthly is ideal for management decisions — it lets you spot margin changes, supplier cost increases, or inventory problems before they compound. At minimum, calculate COGS quarterly for financial reporting and tax preparation. Annual-only tracking means you don't discover problems until it's too late to fix them."}},{"name":"Can COGS be negative?","@type":"Question","acceptedAnswer":{"@type":"Answer","text":"No. COGS represents real costs incurred to produce or buy goods that were sold. If your formula produces a negative number, there's an error in your inputs — most likely an ending inventory figure that's larger than it should be, or a purchases amount that's missing items."}},{"name":"Does COGS include shipping costs?","@type":"Question","acceptedAnswer":{"@type":"Answer","text":"It depends on the direction. Inbound shipping (getting goods from your suppliers to your warehouse) belongs in COGS — it's part of the cost to acquire inventory. Outbound shipping (delivering products to customers) is a selling expense, not COGS. This distinction matters for accurate gross margin calculations."}},{"name":"What's a healthy COGS percentage?","@type":"Question","acceptedAnswer":{"@type":"Answer","text":"It varies dramatically by industry. Grocery retailers run 65–75%, restaurants target 28–35%, apparel retail averages 40–55%, and software companies operate at 15–30%. The right benchmark is your industry's range, not a universal number. What matters most is whether your margin leaves enough room to cover operating costs and generate profit."}},{"name":"How does COGS affect my taxes?","@type":"Question","acceptedAnswer":{"@type":"Answer","text":"COGS is subtracted from gross receipts to determine gross income on your tax return. Only inventory that was actually sold reduces your taxable income — unsold inventory stays on your balance sheet as an asset. Year-end inventory counts directly impact your tax bill, and the IRS requires you to declare your inventory valuation method. Getting COGS wrong in either direction creates compliance risk."}},{"name":"What's the difference between FIFO and LIFO?","@type":"Question","acceptedAnswer":{"@type":"Answer","text":"FIFO (First In, First Out) assumes your oldest inventory sells first. LIFO (Last In, First Out) assumes the newest inventory sells first. When costs are rising, FIFO reports lower COGS and higher profit; LIFO reports higher COGS and lower taxable income. FIFO is accepted globally, while LIFO is only permitted under U.S. GAAP and comes with a conformity requirement — if you use LIFO for taxes, you must also use it in your financial statements."}}]}25:[["$","script",null,{"dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"BreadcrumbList\",\"itemListElement\":[{\"name\":\"Home\",\"@type\":\"ListItem\",\"item\":\"https://activecalculator.com\",\"position\":1},{\"name\":\"Calculators\",\"@type\":\"ListItem\",\"item\":\"https://activecalculator.com/calculators\",\"position\":2},{\"name\":\"Finance\",\"@type\":\"ListItem\",\"item\":\"https://activecalculator.com/calculators/finance\",\"position\":3},{\"name\":\"Cost of Goods Sold (COGS) Calculator\",\"@type\":\"ListItem\",\"item\":\"https://activecalculator.com/calculators/finance/cogs-calculator\",\"position\":4}]}"},"type":"application/ld+json"}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"{\"@context\":\"https://schema.org\",\"@type\":\"Article\",\"name\":\"Cost of Goods Sold (COGS) Calculator\",\"dateModified\":\"2026-02-09T17:02:17.435Z\",\"description\":\"Calculate your cost of goods sold instantly. Enter your beginning inventory, purchases, and ending inventory to find your COGS and gross profit margin.\",\"author\":{\"name\":\"ActiveCalculator\",\"@type\":\"Organization\"},\"datePublished\":\"2025-12-31T09:50:08.019Z\",\"headline\":\"Cost of Goods Sold (COGS) Calculator\",\"image\":\"https://activecalculator.com/api/og/calculator?title=Cost%20of%20Goods%20Sold%20(COGS)%20Calculator\",\"mainEntityOfPage\":{\"@id\":\"https://activecalculator.com/calculators/finance/cogs-calculator\",\"@type\":\"WebPage\"},\"publisher\":{\"name\":\"ActiveCalculator\",\"@type\":\"Organization\",\"logo\":{\"@type\":\"ImageObject\",\"height\":112,\"url\":\"https://activecalculator.com/logo.png\",\"width\":112}},\"keywords\":\"Cost of Goods Sold (COGS) Calculator, tool, Finance, Finance calculator\",\"url\":\"https://activecalculator.com/calculators/finance/cogs-calculator\"}"},"type":"application/ld+json"}],["$","script",null,{"dangerouslySetInnerHTML":{"__html":"$2e"},"type":"application/ld+json"}],"$L2f"]
30:I[65569,["9310","static/chunks/f8d55a4d-f82e876c81147bfd.js","6956","static/chunks/66a6e935-aee5d3cb85c323ac.js","7821","static/chunks/7821-fecf606f47f1f58d.js","8963","static/chunks/8963-69c253eec8d741c5.js","9858","static/chunks/9858-f1918ded0530ca69.js","609","static/chunks/609-95e41ae6a69b88b2.js","2456","static/chunks/2456-94cb89c116d69dd0.js","994","static/chunks/994-2c56ebb2d663b523.js","6472","static/chunks/6472-2ee935ddbae5821a.js","3349","static/chunks/app/(frontend)/calculators/%5Bcategory%5D/%5Bslug%5D/page-70bb6ad84377852d.js"],"JumplistProvider"]
31:I[52456,["9310","static/chunks/f8d55a4d-f82e876c81147bfd.js","6956","static/chunks/66a6e935-aee5d3cb85c323ac.js","7821","static/chunks/7821-fecf606f47f1f58d.js","8963","static/chunks/8963-69c253eec8d741c5.js","9858","static/chunks/9858-f1918ded0530ca69.js","609","static/chunks/609-95e41ae6a69b88b2.js","2456","static/chunks/2456-94cb89c116d69dd0.js","994","static/chunks/994-2c56ebb2d663b523.js","6472","static/chunks/6472-2ee935ddbae5821a.js","3349","static/chunks/app/(frontend)/calculators/%5Bcategory%5D/%5Bslug%5D/page-70bb6ad84377852d.js"],"RichText"]
32:I[52924,["9310","static/chunks/f8d55a4d-f82e876c81147bfd.js","6956","static/chunks/66a6e935-aee5d3cb85c323ac.js","7821","static/chunks/7821-fecf606f47f1f58d.js","8963","static/chunks/8963-69c253eec8d741c5.js","9858","static/chunks/9858-f1918ded0530ca69.js","609","static/chunks/609-95e41ae6a69b88b2.js","2456","static/chunks/2456-94cb89c116d69dd0.js","994","static/chunks/994-2c56ebb2d663b523.js","6472","static/chunks/6472-2ee935ddbae5821a.js","3349","static/chunks/app/(frontend)/calculators/%5Bcategory%5D/%5Bslug%5D/page-70bb6ad84377852d.js"],"ShareButtons"]
33:I[56472,["9310","static/chunks/f8d55a4d-f82e876c81147bfd.js","6956","static/chunks/66a6e935-aee5d3cb85c323ac.js","7821","static/chunks/7821-fecf606f47f1f58d.js","8963","static/chunks/8963-69c253eec8d741c5.js","9858","static/chunks/9858-f1918ded0530ca69.js","609","static/chunks/609-95e41ae6a69b88b2.js","2456","static/chunks/2456-94cb89c116d69dd0.js","994","static/chunks/994-2c56ebb2d663b523.js","6472","static/chunks/6472-2ee935ddbae5821a.js","3349","static/chunks/app/(frontend)/calculators/%5Bcategory%5D/%5Bslug%5D/page-70bb6ad84377852d.js"],"RenderBlocks"]
2f:["$","div",null,{"className":"min-h-screen bg-white","children":["$","$L30",null,{"children":["$","div",null,{"className":"py-10 lg:py-12 container","children":[["$","div",null,{"className":"mb-6","children":["$","div",null,{"className":"flex items-center flex-wrap gap-1 text-mist-600","children":[["$","$L6",null,{"className":"typo-small font-medium hover:text-blue-600 transition-colors duration-200","href":"/calculators","children":"Calculators"}],["$","svg",null,{"className":"text-mist-600","fill":"none","height":"16","stroke":"currentColor","strokeLinecap":"round","strokeLinejoin":"round","strokeWidth":"2","viewBox":"0 0 24 24","width":"16","xmlns":"http://www.w3.org/2000/svg","children":["$","polyline",null,{"points":"9 18 15 12 9 6"}]}],["$","$L6",null,{"className":"typo-small font-medium hover:text-blue-600 transition-colors duration-200","href":"/calculators/finance","children":"Finance"}]]}]}],["$","div",null,{"className":"mb-8","children":[["$","h1",null,{"className":"typo-title mb-4 text-mist-950","children":"Cost of Goods Sold (COGS) Calculator"}],["$","div",null,{"className":"text-mist-600 typo-normal max-w-2xl mb-4","children":["$","$L31",null,{"content":{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Calculate your cost of goods sold instantly. Enter beginning inventory, purchases, and ending inventory to find your COGS and gross profit margin — the numbers that shape your pricing, taxes, and profitability.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""}],"direction":null,"format":"","indent":0,"type":"root","version":1}}}]}],["$","div",null,{"className":"flex mt-4","children":["$","$L32",null,{"variant":"full","title":"Cost of Goods Sold (COGS) Calculator"}]}]]}],false,["$","div",null,{"className":"grid grid-cols-1 lg:grid-cols-6 gap-8","children":[["$","div",null,{"className":"lg:col-span-4","children":[["$","div",null,{"className":"bg-white rounded-lg shadow-sm p-8 mb-6","children":["$","$L33",null,{"blocks":[{"blockType":"blogContent","blogContentFields":{"settings":{"background":"default","paddingTop":"medium","paddingBottom":"medium"},"richText":{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"If you sell physical products, COGS is probably the most important number on your income statement that you're not paying enough attention to. It tells you what it actually cost to produce or buy the goods your customers purchased — and if you're getting it wrong, your profit numbers are fiction.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"This cost of goods sold calculator takes the guesswork out. Enter your beginning inventory, what you purchased during the period, and your ending inventory. You'll instantly see your total COGS and gross profit margin — two numbers that directly shape your pricing, your taxes, and whether your business is actually making money or just moving money around.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Whether you're a retailer restocking shelves, an e-commerce seller managing warehouse inventory, or a manufacturer tracking raw materials, this tool gives you a clear picture of where your money goes before a single dollar hits your bottom line.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"What Is Cost of Goods Sold?","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"heading","version":1,"tag":"h2"},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Cost of goods sold — COGS for short — is the total direct cost of producing or purchasing every product you sold during a specific period. Think of it as the answer to: \"Before rent, before salaries, before marketing — how much did the products themselves cost me?\"","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"COGS captures raw materials, wholesale product costs, direct labor, and manufacturing overhead. It does not include your office lease, your marketing budget, or your sales team's commissions. Those are operating expenses — a separate line on your income statement entirely.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Here's why COGS matters so much: it's the first thing subtracted from your revenue to calculate gross profit. If your COGS is wrong, your gross profit is wrong, your margins are wrong, and every pricing and budgeting decision built on those numbers is wrong too. Getting this right isn't optional — it's the foundation your financial statements sit on.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"The COGS Formula","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"heading","version":1,"tag":"h2"},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"The standard calculation is straightforward:","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"COGS = Beginning Inventory + Purchases − Ending Inventory","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"But each of those inputs has more to it than most people realize:","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Beginning Inventory","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" is the value of unsold stock at the start of your accounting period. If you're calculating COGS for Q2, it's whatever was on your shelves on April 1st. This number should match exactly to the ending inventory from your previous period. If it doesn't, something went wrong in your records — and your COGS will be off from the start.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Purchases","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" is everything you bought or produced during the period to replenish inventory. This isn't just the invoice price from your suppliers. It includes freight-in costs to receive the goods, customs duties on imported products, and direct labor if you manufacture items yourself. A common mistake is expensing freight costs separately instead of rolling them into inventory — that understates your COGS and overstates your operating expenses.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Ending Inventory","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" is what remains unsold at period's end. Getting this number right often requires a physical count, and the method you use to value that inventory (FIFO, LIFO, or weighted average) directly changes your COGS figure.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"The underlying logic is intuitive: start with what you had, add what you bought, subtract what's left. The difference is what you sold.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Example:","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" Start the quarter with $50,000 in inventory, purchase $200,000 in goods, and count $75,000 remaining at quarter's end. COGS = $50,000 + $200,000 − $75,000 = ","type":"text","version":1},{"detail":0,"format":1,"mode":"normal","style":"","text":"$$175,000","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":".","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"How to Use This Calculator","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"heading","version":1,"tag":"h2"},{"children":[{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Enter your Beginning Inventory","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" — The dollar value of all inventory on hand at the start of the period. Pull this from your previous period's balance sheet or your last physical inventory count.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"listitem","version":1,"value":1},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Enter your Purchases","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" — The total cost of all goods bought or produced during the period. Include supplier invoices, inbound freight, customs duties, and direct production labor.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"listitem","version":1,"value":2},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Enter your Ending Inventory","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" — The dollar value of unsold inventory at period's end, based on your physical count or inventory management system.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"listitem","version":1,"value":3},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Read your results","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" — The calculator shows your Cost of Goods Sold (total cost of goods that left your shelves) and your Gross Profit Margin (the percentage of revenue you keep after covering product costs).","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"listitem","version":1,"value":4}],"direction":null,"format":"","indent":0,"type":"list","version":1,"listType":"number","start":1,"tag":"ol"},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Understanding Your Results","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"heading","version":1,"tag":"h2"},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Cost of Goods Sold","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" is the raw dollar amount your business spent on the products it sold. If your COGS is $175,000, that's money committed to materials, production, and procurement before you've paid for anything else.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Gross Profit Margin","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" tells you how much breathing room you have. A 33% margin means you keep roughly 33 cents from every dollar of revenue after covering product costs. That remaining 33 cents has to cover rent, payroll, marketing, and everything else — then whatever's left is your actual profit.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"What counts as a \"good\" margin depends entirely on your industry. A software company at 30% gross margin is in trouble. A grocery store at 30% is doing well. Here's how typical margins stack up:","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"type":"table","children":[{"type":"tablerow","children":[{"type":"tablecell","children":[{"type":"paragraph","children":[{"type":"text","text":"Industry","format":0,"style":"","detail":0,"mode":"normal","version":1}],"direction":"ltr","format":"","indent":0,"textFormat":0,"textStyle":"","version":1}],"direction":"ltr","format":"","indent":0,"version":1,"backgroundColor":null,"colSpan":1,"headerState":1,"rowSpan":1},{"type":"tablecell","children":[{"type":"paragraph","children":[{"type":"text","text":"Typical Gross Margin","format":0,"style":"","detail":0,"mode":"normal","version":1}],"direction":"ltr","format":"","indent":0,"textFormat":0,"textStyle":"","version":1}],"direction":"ltr","format":"","indent":0,"version":1,"backgroundColor":null,"colSpan":1,"headerState":1,"rowSpan":1}],"direction":"ltr","format":"","indent":0,"version":1},{"type":"tablerow","children":[{"type":"tablecell","children":[{"type":"paragraph","children":[{"type":"text","text":"Software / SaaS","format":0,"style":"","detail":0,"mode":"normal","version":1}],"direction":"ltr","format":"","indent":0,"textFormat":0,"textStyle":"","version":1}],"direction":"ltr","format":"","indent":0,"version":1,"backgroundColor":null,"colSpan":1,"headerState":0,"rowSpan":1},{"type":"tablecell","children":[{"type":"paragraph","children":[{"type":"text","text":"70–85%","format":0,"style":"","detail":0,"mode":"normal","version":1}],"direction":"ltr","format":"","indent":0,"textFormat":0,"textStyle":"","version":1}],"direction":"ltr","format":"","indent":0,"version":1,"backgroundColor":null,"colSpan":1,"headerState":0,"rowSpan":1}],"direction":"ltr","format":"","indent":0,"version":1},{"type":"tablerow","children":[{"type":"tablecell","children":[{"type":"paragraph","children":[{"type":"text","text":"Professional Services","format":0,"style":"","detail":0,"mode":"normal","version":1}],"direction":"ltr","format":"","indent":0,"textFormat":0,"textStyle":"","version":1}],"direction":"ltr","format":"","indent":0,"version":1,"backgroundColor":null,"colSpan":1,"headerState":0,"rowSpan":1},{"type":"tablecell","children":[{"type":"paragraph","children":[{"type":"text","text":"50–70%","format":0,"style":"","detail":0,"mode":"normal","version":1}],"direction":"ltr","format":"","indent":0,"textFormat":0,"textStyle":"","version":1}],"direction":"ltr","format":"","indent":0,"version":1,"backgroundColor":null,"colSpan":1,"headerState":0,"rowSpan":1}],"direction":"ltr","format":"","indent":0,"version":1},{"type":"tablerow","children":[{"type":"tablecell","children":[{"type":"paragraph","children":[{"type":"text","text":"Retail (Apparel)","format":0,"style":"","detail":0,"mode":"normal","version":1}],"direction":"ltr","format":"","indent":0,"textFormat":0,"textStyle":"","version":1}],"direction":"ltr","format":"","indent":0,"version":1,"backgroundColor":null,"colSpan":1,"headerState":0,"rowSpan":1},{"type":"tablecell","children":[{"type":"paragraph","children":[{"type":"text","text":"45–65%","format":0,"style":"","detail":0,"mode":"normal","version":1}],"direction":"ltr","format":"","indent":0,"textFormat":0,"textStyle":"","version":1}],"direction":"ltr","format":"","indent":0,"version":1,"backgroundColor":null,"colSpan":1,"headerState":0,"rowSpan":1}],"direction":"ltr","format":"","indent":0,"version":1},{"type":"tablerow","children":[{"type":"tablecell","children":[{"type":"paragraph","children":[{"type":"text","text":"Manufacturing","format":0,"style":"","detail":0,"mode":"normal","version":1}],"direction":"ltr","format":"","indent":0,"textFormat":0,"textStyle":"","version":1}],"direction":"ltr","format":"","indent":0,"version":1,"backgroundColor":null,"colSpan":1,"headerState":0,"rowSpan":1},{"type":"tablecell","children":[{"type":"paragraph","children":[{"type":"text","text":"30–45%","format":0,"style":"","detail":0,"mode":"normal","version":1}],"direction":"ltr","format":"","indent":0,"textFormat":0,"textStyle":"","version":1}],"direction":"ltr","format":"","indent":0,"version":1,"backgroundColor":null,"colSpan":1,"headerState":0,"rowSpan":1}],"direction":"ltr","format":"","indent":0,"version":1},{"type":"tablerow","children":[{"type":"tablecell","children":[{"type":"paragraph","children":[{"type":"text","text":"Restaurants & Food Service","format":0,"style":"","detail":0,"mode":"normal","version":1}],"direction":"ltr","format":"","indent":0,"textFormat":0,"textStyle":"","version":1}],"direction":"ltr","format":"","indent":0,"version":1,"backgroundColor":null,"colSpan":1,"headerState":0,"rowSpan":1},{"type":"tablecell","children":[{"type":"paragraph","children":[{"type":"text","text":"30–40%","format":0,"style":"","detail":0,"mode":"normal","version":1}],"direction":"ltr","format":"","indent":0,"textFormat":0,"textStyle":"","version":1}],"direction":"ltr","format":"","indent":0,"version":1,"backgroundColor":null,"colSpan":1,"headerState":0,"rowSpan":1}],"direction":"ltr","format":"","indent":0,"version":1},{"type":"tablerow","children":[{"type":"tablecell","children":[{"type":"paragraph","children":[{"type":"text","text":"Grocery & Food Retail","format":0,"style":"","detail":0,"mode":"normal","version":1}],"direction":"ltr","format":"","indent":0,"textFormat":0,"textStyle":"","version":1}],"direction":"ltr","format":"","indent":0,"version":1,"backgroundColor":null,"colSpan":1,"headerState":0,"rowSpan":1},{"type":"tablecell","children":[{"type":"paragraph","children":[{"type":"text","text":"25–35%","format":0,"style":"","detail":0,"mode":"normal","version":1}],"direction":"ltr","format":"","indent":0,"textFormat":0,"textStyle":"","version":1}],"direction":"ltr","format":"","indent":0,"version":1,"backgroundColor":null,"colSpan":1,"headerState":0,"rowSpan":1}],"direction":"ltr","format":"","indent":0,"version":1},{"type":"tablerow","children":[{"type":"tablecell","children":[{"type":"paragraph","children":[{"type":"text","text":"Construction","format":0,"style":"","detail":0,"mode":"normal","version":1}],"direction":"ltr","format":"","indent":0,"textFormat":0,"textStyle":"","version":1}],"direction":"ltr","format":"","indent":0,"version":1,"backgroundColor":null,"colSpan":1,"headerState":0,"rowSpan":1},{"type":"tablecell","children":[{"type":"paragraph","children":[{"type":"text","text":"15–25%","format":0,"style":"","detail":0,"mode":"normal","version":1}],"direction":"ltr","format":"","indent":0,"textFormat":0,"textStyle":"","version":1}],"direction":"ltr","format":"","indent":0,"version":1,"backgroundColor":null,"colSpan":1,"headerState":0,"rowSpan":1}],"direction":"ltr","format":"","indent":0,"version":1},{"type":"tablerow","children":[{"type":"tablecell","children":[{"type":"paragraph","children":[{"type":"text","text":"Auto Dealers","format":0,"style":"","detail":0,"mode":"normal","version":1}],"direction":"ltr","format":"","indent":0,"textFormat":0,"textStyle":"","version":1}],"direction":"ltr","format":"","indent":0,"version":1,"backgroundColor":null,"colSpan":1,"headerState":0,"rowSpan":1},{"type":"tablecell","children":[{"type":"paragraph","children":[{"type":"text","text":"10–15%","format":0,"style":"","detail":0,"mode":"normal","version":1}],"direction":"ltr","format":"","indent":0,"textFormat":0,"textStyle":"","version":1}],"direction":"ltr","format":"","indent":0,"version":1,"backgroundColor":null,"colSpan":1,"headerState":0,"rowSpan":1}],"direction":"ltr","format":"","indent":0,"version":1}],"direction":"ltr","format":"","indent":0,"version":1},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"If your margin sits well below your industry range, that's a clear signal to look at your supplier costs, pricing, or production efficiency.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"What Belongs in COGS (and What Doesn't)","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"heading","version":1,"tag":"h2"},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"This is where most businesses make mistakes — not in the math, but in deciding which costs go into the formula. The IRS and accounting standards have clear guidelines, and getting the classification wrong distorts everything downstream.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Include in COGS:","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Raw materials and components","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"listitem","version":1,"value":1},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Wholesale product costs (for resellers)","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"listitem","version":1,"value":2},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Direct labor — wages for workers who physically make, assemble, or pack products","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"listitem","version":1,"value":3},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Manufacturing overhead — factory rent, utilities, equipment depreciation","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"listitem","version":1,"value":4},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Inbound freight and shipping to receive inventory","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"listitem","version":1,"value":5},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Customs duties and import tariffs","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"listitem","version":1,"value":6},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Packaging materials that ship with the product","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"listitem","version":1,"value":7}],"direction":null,"format":"","indent":0,"type":"list","version":1,"listType":"bullet","start":1,"tag":"ul"},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Do NOT include in COGS:","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Marketing and advertising spend","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"listitem","version":1,"value":1},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Sales team salaries and commissions","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"listitem","version":1,"value":2},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Office rent (unless it's a production facility)","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"listitem","version":1,"value":3},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Administrative salaries","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"listitem","version":1,"value":4},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Outbound shipping to deliver orders to customers","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"listitem","version":1,"value":5},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Research and development","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"listitem","version":1,"value":6},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Interest on loans or financing","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"listitem","version":1,"value":7}],"direction":null,"format":"","indent":0,"type":"list","version":1,"listType":"bullet","start":1,"tag":"ul"},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Here's the practical test: if a cost would exist even if you never sold a single product, it's almost certainly an operating expense, not COGS. Your office lease doesn't change whether you sell 100 units or 10,000. But the wood, hardware, and labor to build 10,000 tables? That's COGS.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"One of the most common errors bookkeepers flag is businesses dumping all shipping costs into one bucket. Inbound freight (getting inventory from your supplier to your warehouse) belongs in COGS. Outbound shipping (delivering orders to customers) is a selling expense. Mixing them up makes your gross margin unreliable.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"COGS by Business Type","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"heading","version":1,"tag":"h2"},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"The formula is the same everywhere, but what you're counting looks very different depending on your business:","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Retail Clothing Boutique","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" You open the month with $30,000 in inventory on the racks, receive $15,000 in new shipments from wholesalers, and count $20,000 remaining at month's end. COGS = $30,000 + $15,000 − $20,000 = ","type":"text","version":1},{"detail":0,"format":1,"mode":"normal","style":"","text":"$$25,000","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":". Your purchases include the wholesale price plus whatever you paid for freight to get the clothing to your store.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"E-Commerce Seller","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" Beginning of Q1: $8,000 in products at your fulfillment center. You order $45,000 in new inventory from overseas suppliers (including $3,200 in duties and inbound shipping). Quarter ends with $12,000 in remaining stock. COGS = $8,000 + $45,000 − $12,000 = ","type":"text","version":1},{"detail":0,"format":1,"mode":"normal","style":"","text":"$$41,000","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":".","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Furniture Manufacturer","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" Start the year with $120,000 in raw materials and finished goods. You spend $380,000 on lumber, hardware, and upholstery plus $120,000 on workshop labor and overhead. $95,000 in materials and finished pieces remain at year-end. COGS = $120,000 + $500,000 − $95,000 = ","type":"text","version":1},{"detail":0,"format":1,"mode":"normal","style":"","text":"$$525,000","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":".","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Restaurant","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" A café opens the week with $2,000 in food and beverage supplies, purchases $5,500 in ingredients from suppliers, and inventories $1,800 remaining at week's end. COGS = $2,000 + $5,500 − $1,800 = ","type":"text","version":1},{"detail":0,"format":1,"mode":"normal","style":"","text":"$$5,700","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":". Restaurants typically track food cost as a percentage of revenue — aim for 28–35% depending on your concept. If you're running above that, it's time to look at portion sizes, menu pricing, or supplier contracts.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Service Business","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" Service companies don't typically use the traditional inventory-based formula. Instead, your \"cost of services\" or \"cost of revenue\" includes direct labor for client-facing work, tools and software used to deliver the service, and materials provided to clients. A web development agency's COGS might include developer salaries, hosting costs for client projects, and licensed software — but not office rent or the CEO's salary.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Inventory Valuation Methods and COGS","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"heading","version":1,"tag":"h2"},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"How you value your ending inventory changes your COGS — sometimes significantly. There are three standard approaches:","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"FIFO (First In, First Out)","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" treats your oldest inventory as sold first. When prices are rising, FIFO produces a lower COGS and higher reported profit because you're expensing the older, cheaper stock. Most businesses use FIFO — it's intuitive and it's accepted worldwide.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"LIFO (Last In, First Out)","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" assumes your newest (and usually most expensive) inventory sells first. In inflationary periods, this produces a higher COGS and lower taxable income — which means you keep more cash. The trade-off: LIFO is only allowed under U.S. GAAP, and the IRS requires you to use the same method on your financial statements if you elect LIFO for taxes (the conformity rule under Section 472(c)).","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Weighted Average Cost","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" pools all units together at a blended cost per unit. It smooths out price swings and is often the simplest to manage, especially for businesses with high-volume, similar products.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Whichever method you pick, stay consistent. Switching requires IRS approval (Form 3115), and flipping between methods from year to year makes your period-over-period comparisons meaningless.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"COGS and Your Tax Return","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"heading","version":1,"tag":"h2"},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"COGS isn't technically a tax \"deduction\" — it's subtracted from gross receipts to arrive at gross income, which happens before deductions even come into play. But the practical effect is the same: every dollar you can legitimately include in COGS reduces your taxable income.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"A few IRS specifics worth knowing:","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Inventory purchases aren't immediately deductible.","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" If you buy $50,000 in inventory and only sell $30,000 of it, your COGS is $30,000 — not $50,000. The remaining $20,000 sits on your balance sheet until those goods sell. This catches a lot of first-time business owners off guard at tax time.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"listitem","version":1,"value":1},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Year-end inventory counts directly affect your tax bill.","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" Overcount your ending inventory and your COGS goes down — meaning higher taxable income and a bigger tax bill. Undercount it and you've underreported income, which is an audit risk.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"listitem","version":1,"value":2},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Businesses filing taxes report COGS on Form 1125-A","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" (for corporations and partnerships) or Schedule C (sole proprietors). The form asks for your beginning inventory, purchases, labor, ending inventory, and your valuation method.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"listitem","version":1,"value":3},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"The small business simplification:","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" If your average annual gross receipts are $31 million or less (over the prior 3 years), you may qualify for simplified inventory accounting under Section 471(c). This can significantly reduce the bookkeeping burden around COGS.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"listitem","version":1,"value":4}],"direction":null,"format":"","indent":0,"type":"list","version":1,"listType":"bullet","start":1,"tag":"ul"},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"How COGS Shapes Pricing and Cash Flow","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"heading","version":1,"tag":"h2"},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"COGS isn't just a number for your accountant — it has real operational consequences.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Pricing:","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" If your per-unit COGS is $45, you know the absolute floor for your selling price. But COGS alone doesn't tell you the profitable price — you need enough margin above COGS to cover operating expenses, taxes, and your desired profit. Businesses that price based on \"what competitors charge\" without knowing their own COGS often discover they've been selling at a loss on certain product lines.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Cash flow:","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" This is where COGS quietly creates problems. When you buy $100,000 in inventory, cash leaves your bank account immediately. But that cost doesn't appear on your income statement until those goods actually sell — which might be 30, 60, or 90 days later. For growing businesses, this gap is a cash flow trap. The faster you grow, the more cash gets tied up in unsold inventory, and plenty of profitable businesses have failed because they ran out of cash while waiting for inventory to convert to sales.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Tracking over time:","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" If your COGS percentage is creeping upward while revenue holds steady, your margins are getting squeezed. Maybe supplier costs are rising, maybe you're carrying more dead stock, maybe production efficiency has slipped. Monthly COGS tracking catches these trends early — waiting until year-end to discover a margin problem means twelve months of lost profit.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Common COGS Mistakes to Avoid","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"heading","version":1,"tag":"h2"},{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"After everything above, here are the mistakes that trip up real businesses:","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""},{"children":[{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Recording inventory purchases as immediate expenses.","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" Buying $20,000 of stock in November doesn't mean $20,000 in COGS for the year — only the portion that sold is COGS. The rest is an asset on your balance sheet.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"listitem","version":1,"value":1},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Mixing inbound and outbound shipping.","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" Freight to receive goods from your supplier goes in COGS. Shipping orders to customers is an operating expense. Combining them into one \"shipping\" line gives you unreliable margins.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"listitem","version":1,"value":2},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Forgetting freight-in, duties, and tariffs.","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" Every dollar you spend getting inventory to your door should be capitalized into inventory cost. Expensing it separately understates your COGS.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"listitem","version":1,"value":3},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Inconsistent inventory counts.","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" If ending inventory this period doesn't match beginning inventory next period, every COGS calculation from that point forward is off.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"listitem","version":1,"value":4},{"children":[{"detail":0,"format":1,"mode":"normal","style":"","text":"Never analyzing COGS by product line.","type":"text","version":1},{"detail":0,"format":0,"mode":"normal","style":"","text":" A blended COGS hides the fact that one product might carry a 60% margin while another runs at a loss. Knowing your COGS per product (or per category) lets you focus on what's actually profitable.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"listitem","version":1,"value":5}],"direction":null,"format":"","indent":0,"type":"list","version":1,"listType":"bullet","start":1,"tag":"ul"}],"direction":null,"format":"","indent":0,"type":"root","version":1}}},"id":"698a12fd2eec5300047bca3e"}]}]}],"$L34"]}],"$L35"]}]]}]}]}]
3c:I[51318,["9310","static/chunks/f8d55a4d-f82e876c81147bfd.js","6956","static/chunks/66a6e935-aee5d3cb85c323ac.js","7821","static/chunks/7821-fecf606f47f1f58d.js","8963","static/chunks/8963-69c253eec8d741c5.js","9858","static/chunks/9858-f1918ded0530ca69.js","609","static/chunks/609-95e41ae6a69b88b2.js","2456","static/chunks/2456-94cb89c116d69dd0.js","994","static/chunks/994-2c56ebb2d663b523.js","6472","static/chunks/6472-2ee935ddbae5821a.js","3349","static/chunks/app/(frontend)/calculators/%5Bcategory%5D/%5Bslug%5D/page-70bb6ad84377852d.js"],"Calculator"]
34:["$","div",null,{"className":"bg-white rounded-lg shadow-sm p-8","children":[["$","h2",null,{"className":"typo-large mb-6 text-mist-950","children":"Frequently Asked Questions"}],["$","div",null,{"className":"space-y-6","children":[["$","div","0",{"className":"pb-6 last:pb-0","children":[["$","h3",null,{"className":"text-lg font-medium text-mist-950 mb-3","children":"What is cost of goods sold (COGS)?"}],["$","div",null,{"className":"prose max-w-none text-mist-600","children":["$","$L31",null,{"content":{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"COGS is the total direct cost of the products your business sold during a specific period. It includes raw materials, direct labor, manufacturing overhead, and freight to receive the goods. It does not include indirect costs like marketing, office rent, or administrative salaries. COGS appears on your income statement and is subtracted from revenue to determine gross profit.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""}],"direction":null,"format":"","indent":0,"type":"root","version":1}}}]}]]}],["$","div","1",{"className":"pb-6 last:pb-0","children":[["$","h3",null,{"className":"text-lg font-medium text-mist-950 mb-3","children":"How do you calculate COGS?"}],["$","div",null,{"className":"prose max-w-none text-mist-600","children":["$","$L31",null,{"content":{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"COGS = Beginning Inventory + Purchases − Ending Inventory. You start with the value of inventory on hand at the beginning of the period, add everything you bought or produced, then subtract what's still unsold at the end. The difference is the cost of the goods that were sold.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""}],"direction":null,"format":"","indent":0,"type":"root","version":1}}}]}]]}],["$","div","2",{"className":"pb-6 last:pb-0","children":[["$","h3",null,{"className":"text-lg font-medium text-mist-950 mb-3","children":"What's the difference between COGS and operating expenses?"}],["$","div",null,{"className":"prose max-w-none text-mist-600","children":["$","$L31",null,{"content":{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"COGS covers costs directly tied to the products — materials, production labor, factory overhead. Operating expenses cover everything else: rent, marketing, admin salaries, office supplies. Both reduce your profit, but they hit different lines on your income statement. COGS comes out first (giving you gross profit), then operating expenses are subtracted (giving you operating profit).","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""}],"direction":null,"format":"","indent":0,"type":"root","version":1}}}]}]]}],["$","div","3",{"className":"pb-6 last:pb-0","children":[["$","h3",null,{"className":"text-lg font-medium text-mist-950 mb-3","children":"Do service businesses have COGS?"}],["$","div",null,{"className":"prose max-w-none text-mist-600","children":["$","$L31",null,{"content":{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Yes, though it's typically called \"cost of services\" or \"cost of revenue.\" For a consulting firm, this might include consultant salaries and travel costs for client engagements. For a web agency, it could include developer salaries, hosting for client projects, and licensed software. The same principle applies — direct costs of delivering what you sold.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""}],"direction":null,"format":"","indent":0,"type":"root","version":1}}}]}]]}],["$","div","4",{"className":"pb-6 last:pb-0","children":[["$","h3",null,{"className":"text-lg font-medium text-mist-950 mb-3","children":"How often should I calculate COGS?"}],["$","div",null,{"className":"prose max-w-none text-mist-600","children":"$L36"}]]}],"$L37","$L38","$L39","$L3a","$L3b"]}]]}]
35:["$","div",null,{"className":"lg:col-span-2","children":[["$","div",null,{"className":"sticky top-24 mb-6 max-h-[calc(100vh-6rem)] overflow-y-auto space-y-4","children":[["$","$L3c",null,{"className":"rounded-xl shadow-sm","id":"cmed21r3r000njr07k6ebj6l1"}],["$","div",null,{"className":"bg-white rounded-lg shadow-sm p-4","children":["$","nav",null,{"aria-label":"Table of contents","children":[["$","h2",null,{"className":"text-lg font-display font-normal mb-4 text-mist-900","children":"Table of Contents"}],["$","ul",null,{"className":"space-y-2.5","children":[["$","li","what-is-cost-of-goods-sold",{"className":"","children":["$","$L6",null,{"className":"block py-1 text-mist-600 hover:text-mist-900 hover:underline transition-colors leading-relaxed text-sm no-underline","href":"#what-is-cost-of-goods-sold","children":"What Is Cost of Goods Sold?"}]}],["$","li","the-cogs-formula",{"className":"","children":["$","$L6",null,{"className":"block py-1 text-mist-600 hover:text-mist-900 hover:underline transition-colors leading-relaxed text-sm no-underline","href":"#the-cogs-formula","children":"The COGS Formula"}]}],["$","li","how-to-use-this-calculator",{"className":"","children":["$","$L6",null,{"className":"block py-1 text-mist-600 hover:text-mist-900 hover:underline transition-colors leading-relaxed text-sm no-underline","href":"#how-to-use-this-calculator","children":"How to Use This Calculator"}]}],["$","li","understanding-your-results",{"className":"","children":["$","$L6",null,{"className":"block py-1 text-mist-600 hover:text-mist-900 hover:underline transition-colors leading-relaxed text-sm no-underline","href":"#understanding-your-results","children":"Understanding Your Results"}]}],["$","li","what-belongs-in-cogs-and-what-doesnt",{"className":"","children":["$","$L6",null,{"className":"block py-1 text-mist-600 hover:text-mist-900 hover:underline transition-colors leading-relaxed text-sm no-underline","href":"#what-belongs-in-cogs-and-what-doesnt","children":"What Belongs in COGS (and What Doesn't)"}]}],["$","li","cogs-by-business-type",{"className":"","children":["$","$L6",null,{"className":"block py-1 text-mist-600 hover:text-mist-900 hover:underline transition-colors leading-relaxed text-sm no-underline","href":"#cogs-by-business-type","children":"COGS by Business Type"}]}],["$","li","inventory-valuation-methods-and-cogs",{"className":"","children":["$","$L6",null,{"className":"block py-1 text-mist-600 hover:text-mist-900 hover:underline transition-colors leading-relaxed text-sm no-underline","href":"#inventory-valuation-methods-and-cogs","children":"Inventory Valuation Methods and COGS"}]}],["$","li","cogs-and-your-tax-return",{"className":"","children":["$","$L6",null,{"className":"block py-1 text-mist-600 hover:text-mist-900 hover:underline transition-colors leading-relaxed text-sm no-underline","href":"#cogs-and-your-tax-return","children":"COGS and Your Tax Return"}]}],["$","li","how-cogs-shapes-pricing-and-cash-flow",{"className":"","children":["$","$L6",null,{"className":"block py-1 text-mist-600 hover:text-mist-900 hover:underline transition-colors leading-relaxed text-sm no-underline","href":"#how-cogs-shapes-pricing-and-cash-flow","children":"How COGS Shapes Pricing and Cash Flow"}]}],["$","li","common-cogs-mistakes-to-avoid",{"className":"","children":["$","$L6",null,{"className":"block py-1 text-mist-600 hover:text-mist-900 hover:underline transition-colors leading-relaxed text-sm no-underline","href":"#common-cogs-mistakes-to-avoid","children":"Common COGS Mistakes to Avoid"}]}]]}]]}]}]]}],["$","div",null,{"className":"space-y-6","children":false}]]}]
36:["$","$L31",null,{"content":{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"Monthly is ideal for management decisions — it lets you spot margin changes, supplier cost increases, or inventory problems before they compound. At minimum, calculate COGS quarterly for financial reporting and tax preparation. Annual-only tracking means you don't discover problems until it's too late to fix them.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""}],"direction":null,"format":"","indent":0,"type":"root","version":1}}}]
37:["$","div","5",{"className":"pb-6 last:pb-0","children":[["$","h3",null,{"className":"text-lg font-medium text-mist-950 mb-3","children":"Can COGS be negative?"}],["$","div",null,{"className":"prose max-w-none text-mist-600","children":["$","$L31",null,{"content":{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"No. COGS represents real costs incurred to produce or buy goods that were sold. If your formula produces a negative number, there's an error in your inputs — most likely an ending inventory figure that's larger than it should be, or a purchases amount that's missing items.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""}],"direction":null,"format":"","indent":0,"type":"root","version":1}}}]}]]}]
38:["$","div","6",{"className":"pb-6 last:pb-0","children":[["$","h3",null,{"className":"text-lg font-medium text-mist-950 mb-3","children":"Does COGS include shipping costs?"}],["$","div",null,{"className":"prose max-w-none text-mist-600","children":["$","$L31",null,{"content":{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"It depends on the direction. Inbound shipping (getting goods from your suppliers to your warehouse) belongs in COGS — it's part of the cost to acquire inventory. Outbound shipping (delivering products to customers) is a selling expense, not COGS. This distinction matters for accurate gross margin calculations.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""}],"direction":null,"format":"","indent":0,"type":"root","version":1}}}]}]]}]
39:["$","div","7",{"className":"pb-6 last:pb-0","children":[["$","h3",null,{"className":"text-lg font-medium text-mist-950 mb-3","children":"What's a healthy COGS percentage?"}],["$","div",null,{"className":"prose max-w-none text-mist-600","children":["$","$L31",null,{"content":{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"It varies dramatically by industry. Grocery retailers run 65–75%, restaurants target 28–35%, apparel retail averages 40–55%, and software companies operate at 15–30%. The right benchmark is your industry's range, not a universal number. What matters most is whether your margin leaves enough room to cover operating costs and generate profit.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""}],"direction":null,"format":"","indent":0,"type":"root","version":1}}}]}]]}]
3a:["$","div","8",{"className":"pb-6 last:pb-0","children":[["$","h3",null,{"className":"text-lg font-medium text-mist-950 mb-3","children":"How does COGS affect my taxes?"}],["$","div",null,{"className":"prose max-w-none text-mist-600","children":["$","$L31",null,{"content":{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"COGS is subtracted from gross receipts to determine gross income on your tax return. Only inventory that was actually sold reduces your taxable income — unsold inventory stays on your balance sheet as an asset. Year-end inventory counts directly impact your tax bill, and the IRS requires you to declare your inventory valuation method. Getting COGS wrong in either direction creates compliance risk.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""}],"direction":null,"format":"","indent":0,"type":"root","version":1}}}]}]]}]
3b:["$","div","9",{"className":"pb-6 last:pb-0","children":[["$","h3",null,{"className":"text-lg font-medium text-mist-950 mb-3","children":"What's the difference between FIFO and LIFO?"}],["$","div",null,{"className":"prose max-w-none text-mist-600","children":["$","$L31",null,{"content":{"root":{"children":[{"children":[{"detail":0,"format":0,"mode":"normal","style":"","text":"FIFO (First In, First Out) assumes your oldest inventory sells first. LIFO (Last In, First Out) assumes the newest inventory sells first. When costs are rising, FIFO reports lower COGS and higher profit; LIFO reports higher COGS and lower taxable income. FIFO is accepted globally, while LIFO is only permitted under U.S. GAAP and comes with a conformity requirement — if you use LIFO for taxes, you must also use it in your financial statements.","type":"text","version":1}],"direction":null,"format":"","indent":0,"type":"paragraph","version":1,"textFormat":0,"textStyle":""}],"direction":null,"format":"","indent":0,"type":"root","version":1}}}]}]]}]
3d:I[62540,[],"IconMark"]
28:null
2d:[["$","title","0",{"children":"Cost of Goods Sold (COGS) Calculator | Free Online Tool"}],["$","meta","1",{"name":"description","content":"Calculate your cost of goods sold instantly. Enter your beginning inventory, purchases, and ending inventory to find your COGS and gross profit margin."}],["$","link","2",{"rel":"canonical","href":"https://activecalculator.com/calculators/finance/cogs-calculator"}],["$","meta","3",{"property":"og:title","content":"Cost of Goods Sold (COGS) Calculator | Free Online Tool"}],["$","meta","4",{"property":"og:description","content":"Calculate your cost of goods sold instantly. Enter your beginning inventory, purchases, and ending inventory to find your COGS and gross profit margin."}],["$","meta","5",{"property":"og:url","content":"https://activecalculator.com/calculators/finance/cogs-calculator"}],["$","meta","6",{"property":"og:site_name","content":"ActiveCalculator"}],["$","meta","7",{"property":"og:locale","content":"en_US"}],["$","meta","8",{"property":"og:image","content":"https://activecalculator.com/api/og/calculator?title=Cost%20of%20Goods%20Sold%20(COGS)%20Calculator"}],["$","meta","9",{"property":"og:image:width","content":"1200"}],["$","meta","10",{"property":"og:image:height","content":"630"}],["$","meta","11",{"property":"og:image:alt","content":"Cost of Goods Sold (COGS) Calculator | Free Online Tool"}],["$","meta","12",{"property":"og:type","content":"website"}],["$","meta","13",{"name":"twitter:card","content":"summary_large_image"}],["$","meta","14",{"name":"twitter:site","content":"@activecalculator"}],["$","meta","15",{"name":"twitter:creator","content":"@activecalculator"}],["$","meta","16",{"name":"twitter:title","content":"Cost of Goods Sold (COGS) Calculator | Free Online Tool"}],["$","meta","17",{"name":"twitter:description","content":"Calculate your cost of goods sold instantly. Enter your beginning inventory, purchases, and ending inventory to find your COGS and gross profit margin."}],["$","meta","18",{"name":"twitter:image","content":"https://activecalculator.com/api/og/calculator?title=Cost%20of%20Goods%20Sold%20(COGS)%20Calculator"}],["$","link","19",{"rel":"icon","href":"/favicon.ico?756f06c5b2066fec","type":"image/x-icon","sizes":"48x48"}],["$","$L3d","20",{}]]
