Academy › Build › Bookings and orders
The exact number you charge for shipping
Come away with the real cost of shipping calculated zone by zone, counting materials, carrier fees, and your own time, with a margin decided on top before you round the price.
By Yodai · Published September 6, 2026 · Updated October 13, 2026
To price your shipping, you need to be clear about how far your delivery area reaches and who covers each leg of it. What's missing is the exact number: the figure that shows up next to the checkout button, the one that decides whether the customer finishes the purchase or abandons the cart at the last step. In the Baymard Institute study of online shoppers in the United States, 42% had abandoned a cart because they were just browsing; setting that reason aside, the most common one was that extra costs (shipping, taxes, fees) were too high: 40% said so.
And it's a number you have to show up front. Under Spain's General Law for the Protection of Consumers and Users, when you sell to a consumer at a distance you must tell them, before the purchase, about shipping, delivery or postal costs (or, if those can't be calculated ahead of time, that they may have to pay them); for an online purchase, that has to be clear and prominent right before they place the order. If you don't disclose it, the customer isn't required to pay it.
This is an easy place to get stuck, because you don't know where that number should come from, so you end up looking at what the shop next door charges. If you sell clothes online and your competitor charges $4.50 for shipping, copying that $4.50 tells you nothing about whether you're making or losing money on that shipment. It might cost them $3 and cost you $6, because they deliver differently, because your area is farther out, or because your product weighs more.
The right number doesn't come from looking at the competition. At best, looking at the competition tells you what customers are used to: in Spain's CNMC Household Panel for the fourth quarter of 2025, 83.2% of online shoppers didn't pay for shipping on their last package, and of the ones who did pay (15.2%), most paid less than $5. Your number comes from adding up what it actually costs you to ship, and then deciding how much cushion you want on top of that.
What shipping really costs you
It's easy to miscalculate what a shipment costs you, because you only look at what shows up on a receipt: the box, the stamp, the courier's rate. Two more items are missing, and one of them can be the biggest of the three.
The first is materials: box, padding, tape, label. The second is transportation: gas and mileage if you deliver with your own car or van, or the rate the courier or shipping company charges you if you outsource it. For gas, there's an official reference point: Spain's Ministry for Ecological Transition estimates every quarter what it costs to drive 100 km (that is, $9.82 with regular gas and $8.20 with diesel, in its table from September 23, 2026), and you can look it up by car make and model. The third is your time: wrapping the order, writing out the address, driving it over, or waiting in line at the post office.
That third item is the easiest one to leave out of the math, because no invoice ever shows up for it. Put a value on your hour of work and add it in: the real cost of a shipment is usually a lot higher than just the cost of the box.
Let's take two zones from a sample business, with made-up numbers, to see how each item adds up (for self-delivery, transportation includes gas and wear and tear on the car).
From cost to price
Once you have the real cost for each zone, you're halfway there. The other half is deciding how much you want to make on top of that, or at least how much you need in order not to lose money when something goes wrong: a customer who isn't home and you have to go back, a package that arrives broken and you have to replace it, a month when gas prices or the courier's rate go up. The courier's rate, in fact, can shift from one month to the next: SEUR, a Spanish courier, for example, adds an energy surcharge to every shipment that it updates monthly based on diesel and electricity prices, and in October 2026 that surcharge is 17.94% on domestic shipments and shipments to Portugal. And a broken package is on you: if you're selling to a consumer and you're the one arranging transportation, the same consumer law says the risk of loss or damage only passes to the customer once they, or someone they designate who isn't the carrier, has the package in hand.
That margin isn't a luxury. It's what separates a shipping price that holds up during a normal month from one that only works if everything goes perfectly.
- 1Add up the real cost
Materials, transportation, and your time, calculated for that specific zone, not an average across your whole business. Each zone has its own math because the distance, the delivery method, or the weight changes. - 2Add a margin
A percentage on top of the real cost, set by you. Say you choose 15%: on the $5 for Zone 1, that's $0.75 more, your cushion for the orders that don't go smoothly the first time. - 3Round to a clean number
$6.00 instead of $5.75. An odd number looks like a rough guess; a round one looks like a decision you thought through, even though the math behind it is exactly the same. - 4Repeat it zone by zone
The farthest zone or the heaviest package doesn't share a price with the first one: it has its own shipping cost and its own delivery time, so it gets its own number. If your store only supports one flat shipping price, that single price has to cover every zone you ship to from your site. Below you'll find two ways to do that without asking for a difference later.
By zone or by weight tier
You still need to decide what criteria you'll use to split those zones or tiers. It's a different question depending on whether you deliver yourself by car or ship everything through a carrier to any zip code in the country: the answer depends on who's doing the delivering and on what actually drives the cost in your case. If you ship through a carrier, look at how it bills you: in Correos' 2026 rates (Spain's postal service), Standard Package sent from mainland Spain has the same price for any mainland destination, which only changes by weight tier (up to 1 kg, 1 to 5 kg, and then every 5 kg after that), with higher prices for the Balearic Islands, Ceuta and Melilla, and higher still for the Canary Islands. It also applies a weight/volume rule: length times width times height, in centimeters, divided by 6,000, so how bulky the box is counts too.
- Makes sense when you or a local courier handle delivery
- The real cost changes mostly with distance, barely at all with weight
- It comes down to one sentence: "this neighborhood, this much."
- Makes sense when you ship by courier or mail anywhere
- The real cost is set by the carrier's rate, which charges by the pound
- It needs a table: up to 2 lbs one rate, up to 5 lbs another, up to 10 lbs another
Which one do I pick? If you deliver with your own car or bike, calculate by zone: that's what actually changes your cost. If a carrier picks it up and can reach any zip code, calculate by weight, with a separate price for Alaska, Hawaii, and Puerto Rico: that's how the carrier charges you. If your store only supports one flat shipping price, you have two options that don't run afoul of the law: charge everyone the price of the farthest zone or the most expensive weight tier you deliver to (and offset it with "free shipping over $X" for large orders), or limit what you ship from your site to the zone or weight that price covers and say so clearly on your site; orders outside that range you close out over WhatsApp, with the shipping price agreed on before you charge. What you can't do is charge a shipping fee on your site and then ask for the difference later: the law says the customer isn't required to pay a cost they didn't see before placing the order.
- The real cost of each zone calculated, counting materials, transportation, and your time
- The margin added on top, not a shipping fee charged down to the penny
- The final price for each zone, rounded, and a decision on what flat price to charge if your store only supports one: the price of the most expensive tier, or the price of the only zone you deliver to from your site
- The criterion chosen: by zone if you deliver yourself, by weight if a courier handles it
- What's next: at what amount that shipping becomes free
Test yourself
Answer before opening each one. If one gives you trouble, go back to the section that explains it.
1. You deliver by bike around your neighborhood, and the real cost for the closest zone comes out to $3.20. What shipping price do you set in your store?
Not $3.20: on top of that you add whatever margin you've decided on (at 15%, for example, that's $0.48 more: $3.68) and round to a clean number, say $4. Charging the exact cost leaves no cushion for the customer who isn't home or the month gas prices go up.
2. You sell handmade candles, some weigh 7 ounces and others weigh 4.4 pounds, and you ship them nationwide through a carrier. Do you calculate shipping by zone or by weight tier?
By weight tier: the carrier charges you by the pound, so that's the unit you use to run the numbers. Calculating by geographic zone wouldn't reflect that a 4.4-pound candle costs more to ship than a 7-ounce one. That said, set a separate price for Alaska, Hawaii, and Puerto Rico: those shipments cost more than the rest under USPS rates. If your store only supports one flat shipping price, listing the full chart on your site isn't enough: that single price has to match the most expensive tier you ship from your site, or, if you set a lower one, you limit your site to the weights it covers and close out orders for heavier candles over WhatsApp, with shipping agreed on before you charge.
3. You've been charging exactly $5 for two months, the same number shipping costs you, until a customer gets a damaged package and you have to replace it for free. What went wrong in the math?
The margin was missing. Charging the exact cost only works if every order goes perfectly; the moment something goes wrong, that shipment starts costing you. The margin you add on top is exactly the cushion for those months.
Each zone's price already has the margin built in, so a bad month doesn't eat into it. What's left to decide is whether, past a certain order amount, you give that shipping away for free without touching the margin you just locked in.
Sources
- 50 Cart Abandonment Rate Statistics 2026. Baymard Institute, updated September 22, 2025.
- Royal Legislative Decree 1/2007, of November 16, approving the consolidated text of the General Law for the Protection of Consumers and Users and other supplementary laws. Official State Gazette (Boletín Oficial del Estado), consolidated text last updated February 28, 2026.
- Eight in Ten Online Shoppers Didn't Pay for Shipping on Their Last Order in 2025. National Commission on Markets and Competition (CNMC), Household Panel, June 5, 2026.
- Cost per 100 km (€). Ministry for the Ecological Transition and the Demographic Challenge, table updated September 23, 2026.
- Energy Surcharge. SEUR, accessed October 2026.
- 2026 Rates for Mainland Spain and the Balearic Islands. Correos, 2026.
In Yodai the store comes with the Free plan, with a catalog, a cart and orders. See how to create your online store for free.
NextSet free shipping above your average order, never right at it