Go Back

Corporate Finance Explained | Cost of Goods Sold

June 16, 2026 / 00:21:17 / E236

In this episode of Corporate Finance Explained, we break down the hidden mechanics of Cost of Goods Sold (COGS) and why the companies that master their costs often outperform competitors that generate far more revenue. Through real-world examples from Costco, Walmart, Tesla, and Blue Apron, we explore how gross margin, unit economics, supply chains, and operational efficiency shape long-term business success.

While revenue grabs headlines, COGS determines whether a company can scale profitably, defend its margins, and build a durable competitive advantage. We unpack the strategies behind some of the world’s most successful businesses and reveal how seemingly small decisions inside operations, procurement, and product design can dramatically impact profitability.

Transcript

[00:00:00 – 00:09:16]
So I want you to imagine two massive retailers, like absolute pythons of industry. And they each bring in, say, $100 billion a year in sales. Right, massive scale. Exactly. But here’s the catch. Retailer A keeps 25 cents of gross profit on every single dollar it brings in, but retailer B, they keep just 11 cents. Which, you know, on paper, looks like a complete mismatch. Yeah, retailer A is dominating, right? They look twice as profitable. But today, we are going to dive into our stack of sources, specifically these two really brilliant corporate finance breakdowns. One is called the architecture of unit economics, and the other is the strategic edge. And we’re gonna show you why that 11-cent company is actually the untouchable titan here. Right, and why the 25-cent company might actually be the vulnerable one. Welcome to the deep dive, everyone. Our mission today is to basically crack open the secret engine that actually determines how a business thrives or dies. Because it really is the ultimate corporate optical illusion. I mean, when you look at the top line numbers, the revenue, you’re only seeing what the company wants you to see. It’s what CEOs love to brag about on earnings calls, right? Oh, absolutely, it gives all the flashy headlines. But to understand why our 11-cent company is running away with the market, we have to pull our eyes away from revenue. We have to look down at the second line of the income statement. The cost of goods sold, or Kajis. Exactly. Kajis. Okay, I wanna make sure we are totally grounded here before we get into the really heavy math from the sources. So let’s say I’m a freelance woodworker. Okay, I like it. And I charge, I don’t know, $5,000 for a custom dining room table. My revenue’s amazing, I can brag to my friends about making five grand. Right, but what did it cost to make it? Exactly, if I had to spend $4,800 on rare imported mahogany just to build the table, my Kajis is basically eating me alive. I only have 200 bucks left to pay my rent, my electricity, and well, myself. That is the perfect distinction. Cost of goods sold is everything it physically takes to create the product or deliver the service before you pay for anything else. So the mahogany is my Kajis. Right, that’s a variable cost, raw materials. And if you hired an assistant just to sand that specific table, that direct labor is also Kajis. Got it. But if you scale that up to a massive corporation, Kajis also includes fixed production costs. We’re talking factory overhead, warehousing the product, even the depreciation of the actual manufacturing equipment. Okay, and when you subtract those costs from the revenue, you get your gross margin. Correct. But if I’m sitting in a meeting and some executive says, “Hey, we need to improve our gross margin, “or we need to cut costs,” it usually just sounds like empty corporate jargon to me. Oh, it totally does. You can’t just wave a magic wand and demand that rare mahogany suddenly becomes cheaper. Where do the actual savings come from? Well, and that mentality is exactly where most businesses fail. They look at Kajis as this immovable blob of expenses. But the sources we’re looking at today argue that you have to completely deconstruct that second line. Deconstructed how? You have to ask, is a specific cost being driven by the market price of materials? Or is it driven by the volume of what you’re buying? Right. Or is it an efficiency issue on the factory floor? Or maybe a fundamental design flaw in the product itself? Because gross margin durability, your ability to protect that margin over a decade, is the ultimate measure of a competitive moat. When margins erode, the moat is draining. Exactly. Okay, let’s take this out of the abstract then. Let’s look at the masters of the game. Our sources dive into Walmart first, and then I wanna finally solve this 11-cent puzzle we started with. Let’s do it. So Walmart is the absolute king of the scale lever. They built their whole everyday low prices thing by applying relentless sheer force on their cod yet. Because they’re just so huge. Right, they are the largest-scale buyer in the world. They can walk into a supplier’s office and just demand the lowest possible input price. And the supplier basically has to say yes, because the volume is just too massive to pass up. But it’s not just like bullying suppliers for discounts, is it? Our sources highlight how they strip out distribution costs, too. Oh, absolutely. They engineered a logistics network to essentially destroy costs. They use techniques like cross-stocking. Which is what, exactly? It’s where inbound trucks from suppliers back up to a massive distribution center, and the pallets of goods are immediately moved across the floor by forklifts directly onto outbound trucks heading to the stores. Oh, wow, so it doesn’t even sit around? Barely. The goods rarely hit a warehouse shelf, so they aren’t paying to store it or heat the building or guard it. They just squeeze the cost out of the supply chain, pass the savings to the consumer, and win on unimaginable volume. Which brings us to the 11-cent retailer. And I think a lot of people might have guessed it by now. It’s Costco. It is indeed Costco. But wait, if Walmart is using massive scale to push costs down, Costco is pulling a totally different lever, right? Our sources call it the design and assortment lever. Yeah, let’s compare a standard supermarket to Costco. A typical grocery store carries tens of thousands of distinct items or skews. Right, skews, stock peeping units. Exactly, you walk down the aisle, and there are, I don’t know, 15 different brands of mustard in three different sizes, but Costco, they carry roughly 4,000 skews in total. Wait, really? Just 4,000. They carry 10 to 15 times fewer items than a regular supermarket. See, I’m gonna push back on that a bit because, as a consumer, I want choices. If I walk into a store and I can only buy one brand of ketchup and it happens to be a two-gallon tub, I might just leave. How does deliberately restricting my options translate into a competitive advantage? Well, think about the supplier math. If you are a supermarket spreading your condiment budget across 15 different mustard brands, your buying power is totally fragmented. You have no real leverage. Okay, I see that. But Costco’s co-founder, Jim Senegal, he championed this extreme discipline of only keeping those 4,000 skews. By restricting the choices, Costco concentrates an ocean of volume into a single specific item. So if they only sell one type of mustard. They are buying tens of millions of units of it. That gives them ferocious buying power. Like, suppliers will literally restructure their own manufacturing lines just to win that single Costco slot. That’s wild. Costco is basically running a highly curated boutique. It just happens to be hidden inside a brutalist concrete warehouse. That’s a great way to put it. And that extreme simplicity echoes through their entire Kaiji line. Fewer items mean simplified logistics, faster inventory turnaround, and massively reduced waste. It lowers the cost of literally everything they do. Which finally explains the 11 cents. A typical retailer might mark up a product by 25 to 50% just to cover all their bloated operations, but Costco deliberately caps their overall gross margin near 11%. But how do they even survive on such a razor-thin margin? They still have to pay thousands of employees and light up those massive warehouses. They utilize vertical integration. Look at their private label, Kirkland Signature. Oh yeah, Kirkland is everywhere in there. It makes up roughly 15% of the products on the floor, but it accounts for around 30% of their total sales. And they price it about 20% below national brands. Because they don’t have to pay a middleman. Exactly. Because they control the entire production line, they capture the margin that would normally go in an outside supplier. But the true genius of Costco is that the 11% margin isn’t a weakness, it’s a weapon. Because the real profit isn’t in the groceries at all, it’s the membership fees. Precisely. They use that impossibly low gross margin to build a fortress of consumer trust. You know you are getting the absolute best deal, so you happily pay the membership fee year after year. And almost all of that fee drops straight to the bottom line. Straight to the bottom line. Costco proves that a low margin can be this deliberate, impenetrable fortress, but you know, there is a dark side to this math. There is. If you don’t calculate your costs correctly, a low margin isn’t a fortress at all; it’s a trap. And that brings us to a really terrifying cautionary tale from our sources, Blue Apron. Oh, the meal kit delivery service. Yeah. Yeah, this is a master class in the illusions of unit economics. Illusions is a good word for it. Because if you looked at a single transaction, just one box of fresh ingredients delivered to a customer’s door, the gross margin might have actually seemed somewhat viable on paper. Right. But the deep fatal flaw was in their lifetime unit economics. Okay, let’s slow down and really look at the numbers from the period right before their IPO. Because the math here is honestly panic-inducing. The sources state they spent approximately $179 million on marketing to acquire roughly 387,000 customers. It’s staggering. If we just divide those two numbers, their customer acquisition cost, their cost C, was implied to be over $400 per person. Which means you are spending $400

[00:09:17 – 00:11:13]
just to convince one person to try your meal kits. That’s insane. Right, and to survive, that customer has to stay subscribed long enough and generate enough gross profit to pay back that initial $400 and then eventually start contributing to the actual bottom line. So let’s trace the timeline of a Blue Apron customer here. Say I cost you $400 to acquire. Month one, I buy a few boxes, you are still deep in the hole on me. Very deep. Month two, month three, I’m buying dinners, but you’re barely chipping away at that $400 debt. Yeah, according to the data and the sources, the break-even point, the exact moment a customer finally generated enough gross profit to pay back their own acquisition cost, was hovering around four and a half months. Okay, four and a half months to break even, that doesn’t sound entirely catastrophic yet. Well, it becomes catastrophic when you look at the churn rate. Roughly 70% of their customers canceled their subscriptions within six months. Oh wow, wait, really? Yes. So you spend $400 to get me in the door, I stay just long enough to maybe break even, and then the vast majority of us just completely abandon the platform. And it gets worse. As they tried to grow, they exhausted the pool of easier-to-reach customers, which meant marketing got even more expensive. So the cack goes up. Exactly. That four and a half month break-even point kept stretching further and further out for each new cohort of users. Customers were literally leaving before the gross profit they generated could ever cover the cost to acquire them. It’s like pouring water into a bucket with a massive hole. I mean, it doesn’t matter how cheap the water is; if it all leaks out before you can drink it, you’re basically paying someone $100 to buy a $20 gift card from you. That’s exactly what they were doing. The faster you grow, the faster you bleed to death. You are literally funding your own destruction. And the financial markets eventually did the math. Within a month of their IPO, Blue Apron’s stock had plummeted by about 50%.

[00:11:14 – 00:14:38]
The chief operating officer stepped down almost immediately, and the CEO followed shortly after. Wow. It’s just the harshest lesson in corporate finance. If we connect this to the bigger picture, a single transaction gross margin can really flatter you, but you have to model the full lifetime of the unit economics, or you’re just funding your own destruction. So Blue Apron’s financial model was fundamentally broken. But what if the math is sound, and the physical creation of the product is what’s destroying you? Ah, yes. That brings us to our next case study. It’s a story of redemption, really. And it proves that getting onto the factory floor and untangling the actual manufacturing process can miraculously save the entire P&L. Let’s talk about early Tesla and the Model 3. Yeah, during 2017 and 2018, Tesla was trying to ramp up mass production of the Model 3, and Elon Musk notoriously referred to this period as production hell. Production hell. Yeah, this wasn’t an issue of lifetime customer value. This was a pure physical manufacturing crisis. The sources paint a picture of total chaos. Yes. They had this whole vision of an alien dreadnought factory. Right, the fully automated utopia, exactly. Where raw materials just go in one end, and finished cars drive out the other. But the reality was this lethal combination of over-automation, failed supplier lines, and just incredibly high complexity. They tried to automate tasks that robots simply were not advanced enough to handle at the time. I mean, a robot is fantastic at repeatedly spot-welding a rigid piece of heavy steel rust. Sure. But if you ask a robot to reach into a tight dashboard and thread a flexible, floppy wiring harness, it fails. It drops the wire, it misaligns the plug, or it just stops the entire production line cold. Which completely destroyed their yield. The sources mention a metric here called first-pass yield. For anyone who isn’t a manufacturing engineer, what does that actually measure? First pass yield is arguably the most important pulse check on a factory floor. It’s the percentage of units that come off the assembly line built perfectly the first time without needing any rework or manual intervention. Okay, so doing it right the first time. Exactly. And during this period, Tesla’s first-pass yield was reportedly as low as 14%. Wait, 14%? So out of every 100 cars that roll off the line, 86 of them have a defect. That means they have to be pulled off into a parking lot, torn apart by a team of human mechanics, and basically rebuilt by hand. It was a nightmare. That isn’t mass production, that’s artisan manufacturing. And the compounding costs of that are staggering. Every time you rework a car, you are piling on double the labor costs, you are wasting scraped materials, and you are bottlenecking the entire factory. It just snowballs. It compounded so aggressively that in the first quarter of 2018, Tesla reported a negative gross margin on the Model 3. Negative gross margin. Yes, they were losing money on every single car they built before they even paid for a single billboard, a single software engineer, or the electricity at their corporate headquarters. Here’s where it gets really interesting to me. Because this flips the entire narrative of modern tech on its head. We are always told that automation saves money, right? We are told robots are the ultimate efficiency lever. Right, that’s the standard pitch. But in Tesla’s case, the robots were literally destroying their profit margin. They were actively bankrupting the company. To survive, they had to physically attack the KOGI-S line.

[00:14:39 – 00:17:08]
And their solution was wildly unorthodox. They actually reduced automation. They ripped the robots out. They ripped the feeling robots right out of the line and brought human workers back in to tactile complex tasks like threading those floppy wires. They even built a massive sprung structure, or essentially a giant tent, outside the Fremont factory, just to house a new simplified human-led assembly line. They literally built a tent in the parking lot to bypass their own billion-dollar robots. And it worked, didn’t it? It was a miraculous turnaround. By removing the robotic bottlenecks and simplifying the physical assembly, their first-pass yield skyrocketed. Volume went up, rework plummeted, and the per-unit cost fell dramatically. Wow. By the second quarter of 2018, the Model 3 was nearing break-even. And by late 2018, it was solidly, comfortably positive. That’s incredible. And here is the most important takeaway. They achieved this massive swing in profitability while maintaining the exact same retail price for the car. The entire rescue mission happened on the second line of the income statement. Amazing. Okay, so we’ve seen Costco use assortment discipline to build a fortress. We’ve seen Blue Apron’s lifetime math eat them alive. And we’ve seen Tesla physically rebuild their assembly line to escape negative margins. These companies didn’t just stumble into these outcomes. They actively partnered across their companies to pull specific livers. Which brings us to the playbook. How do the sources suggest we actually apply this, whether you’re in corporate finance, running a small business, or just trying to be a smarter investor? Well, the framework from the sources distills down to five primary levers. First is sourcing and supplier leverage. Using massive scale to dictate raw material prices, just like Walmart. Exactly. Second is scale economics. That’s spreading your fixed production and factory overhead across millions of units. So the cost per unit approaches zero. Third is product and assortment design. Like Costco, narrowing your options so you consolidate your purchasing power. You got it. Fourth is manufacturing efficiency and yield, which is the Tesla story. Getting a more perfect output per unit of input and ruthlessly eliminating rework. Right, and the fifth lever? The fifth lever is vertical integration. Think of Costco’s Kirkland brand, where you basically swallow your supplier to capture their margin. Okay, those are the five levers, but how does a professional actually execute this in the real world? The sources outline four concrete moves for professionals. Move one.

[00:17:09 – 00:17:23]
You must build and own your unit economics model. You have to deeply understand the lifetime value of your customer versus the cost to acquire them. Because if you ignore that, you are blindfolding yourself on the blue apron treadmill. Precisely. Move two.

[00:17:24 – 00:19:47]
You must decompose your CODGS. You can never walk into a boardroom and just vaguely say costs are up. You have to know the mechanic. You have to be able to say material costs are up due to inflation, but we offset it with a 2% improvement in manufacturing efficiency. You really have to know the why behind the math, not just the final number. Right. Move three is crucial. Break down the corporate silos. Finance teams must embed tightly with operations, procurement, and supply chain. You cannot move the COGS line by sitting in a spreadsheet across the hall. You have to be on the floor. Like getting out into the tent, so to speak. Exactly. And move four. Watch the trajectory and durability of your margin. Treat even a 1% erosion and gross margin as an early warning system that your competitive moat is under attack. So let me ask you this. If I’m a listener who isn’t an FP&A analyst, say I’m an engineer or a marketer, how does understanding this spreadsheet math actually change the way I do my daily job? I feel like a lot of people might think COGS is just a finance problem. It absolutely isn’t just a finance problem. If you are an engineer who insists on designing a highly complex, fragile feature, you might accidentally create Tesla’s production hell because it’s too difficult to manufacture. Oh, that makes sense. Or if you are a marketer optimizing for cheap clicks, bringing in leads that churn after a month, you are actively building a blue-apron situation. Every decision made across a company eventually flows down into the unit economics. When you understand how your daily work impacts the cost of delivering the product, you stop thinking in a vacuum, and you start seeing the entire machinery of the business. We have covered incredible ground today. We solved the $100 billion puzzle, realizing that Costco’s razor-thin 11-cent margin isn’t a weakness; it’s a meticulously designed fortress fueled by assortment, discipline, and membership loyalty. A true fortress. We saw the terrifying reality of blue-apron, where acquiring customers at a loss without the lifetime retention to back it up guarantees your own collapse. And we witnessed Tesla’s gritty survival, proving that untangling a chaotic, over-automated assembly process can flip negative margins into massive profits, all without ever raising the price on the consumer. It really is wild. Revenue might get all the flashy headlines, but the quiet, relentless, unforgiving discipline of the cost of goods sold is where industries are actually won or lost. What’s fascinating here is

[00:19:49 – 00:20:40]
when you truly grasp the mechanics of COGS, you stop simply reporting on your company’s profitability and you start actively driving it. You stop reporting and you start driving. I love that. It completely reframes how we define a successful business. Which leaves us with one final thought for you to mull over. We always focus on the shiny new gadget, right? The delicious meal kit, the sleek electric car. Of course. But if cost of goods sold is really the ultimate measure of a company’s innovation, its pricing power, and its long-term survival, then maybe a company’s truest, most valuable product isn’t actually what they put in a box and sell to the consumer. Maybe the real masterpiece is the supply chain in the manufacturing process itself. The engine creating the product is, in fact, the ultimate product. Thank you so much for joining us on this deep dive. Keep questioning the numbers, keep looking past the top line, and we will catch you on the next one.

0 search results for ‘