A shopper's room is 20 by 15 feet. How many cartons is that?
Shoppers think in rooms and compare prices per square foot, but you ship whole cartons. Selling flooring on Shopify well means answering that question on the product page, before they have to ask.
The setup that works: the customer enters their room size. The page adds your waste percentage, divides by the square feet in one carton, and rounds up to whole cartons. The price updates as they type, and the order can carry the carton count.
Appify Custom Product Options builds exactly this calculator on your product page. Here's the math behind it, how to set it up, and what happens after the order.
Why don't Shopify variants work for flooring?
Variants are fixed choices, like Oak or Walnut. They can't take a number the customer types and turn it into a carton count.
So stores fall back on a quantity box and hope the customer does the math, or they quote every floor by email. A flooring calculator puts that math on your page, where the sale happens.
What math does every flooring order run on?
Take a 20 by 15 foot room, 10% extra for waste, and a floor sold in cartons that each cover 23.76 square feet.
- Area: 20 × 15 = 300 square feet.
- Add waste to the area: 300 × 1.10 = 330 square feet.
- Divide by the square feet per carton: 330 ÷ 23.76 = 13.9 cartons.
- Round up: 14 cartons.
- Price: 14 cartons times your carton price.
The order of those steps matters. Round first (300 ÷ 23.76 = 12.6, so 13 cartons), then add 10% (14.3, so 15 cartons), and the customer pays for a carton they didn't need.
That's a calculation, not a list of add-on prices. Your app has to run it in the right order, every time, for every floor you sell.
How do you set up a flooring calculator in Appify Custom Product Options?
You don't have to build it by hand. Describe how you quote a floor to Chat with AI and it writes the options, the pricing, and the rules. Here's what a flooring calculator needs, so you know what to ask for.
1. Ask for the room, or the area
A Dimensions field takes length and width together, each with its own unit, minimum, maximum, and step. An Area field takes square footage directly, for customers who already know it.
A visibility rule can show one or the other, so nobody sees fields they don't need. A measurement outside your range never reaches the cart.
2. Set the waste percentage
Add waste as a number the customer can see. A value rule can fill it in from another choice, like the layout, and the customer can still change it.
That keeps the extra material on screen. Nobody pays for square footage they can't see.
3. Give every floor its own carton size and price
The square feet in a carton change from floor to floor. A pricing table keyed by the floor the customer picks holds each one's carton size, so one calculator prices the whole range.
If each floor is a Shopify variant, the calculator can start from the selected variant's price instead.
4. Round up to whole cartons
The formula runs the five steps above in order, with a round-up function for the carton count. If formulas aren't your thing, tell Chat with AI "add 10% waste to the room area, divide by the square feet per carton, round up to whole cartons." It writes the formula for you.
The formula can make decisions too. IF, AND, and OR let it use a different rate for a premium floor, or a different rate for a layout you name. Pricing variables keep each step readable, like AREA, CARTONS, and CARTON_PRICE.
Two Calculation fields can then show "You need 14 cartons" and the price per square foot right on the page. The shopper sees both numbers they care about.
Add the carton count to the cart line under cart properties, and it shows on the order too.
The customer enters a room. You ship whole cartons. The calculated price is applied automatically at checkout, on one native cart line.
5. Add the pricing rules around the carton price
- Volume breaks: a calculated discount can step up as the carton count grows, so a whole-house order prices differently from a bathroom.
- Minimum and maximum price: set a minimum and maximum as a number or by formula, so small orders stay worthwhile.
- Fixed fees: flat or formula-driven, like a delivery charge that only applies when delivery is picked. Fees are never discounted.
- Price adjustments: a surcharge for a premium finish, or a flat charge once the area passes a size you set.
- Weight and SKU: shipping weight from its own formula, like cartons times carton weight, saved with the order for shipping rates. A custom SKU can be built from the floor and the room.
6. Offer underlayment and trim
Open a choice and use Add to cart to link your existing underlayment, trim, or transition strip products. They're added to the cart as normal Shopify products, with live price and inventory.
A visibility rule can show underlayment only for the floors you sell it with.
7. Split long orders into steps
A multi-step layout can walk the customer through the room first, then the floor, then the extras. Nobody meets every field at once.
What if a carton count comes out wrong?
Open the formula's Troubleshoot tab. It runs the formula for any room and floor, and shows the value of every step: the area, the waste, the division, the round-up.
Type the number you expected and it points to the likely fix. You can also tell Chat with AI "300 square feet with 10% waste should be 14 cartons, not 15" and it opens Troubleshoot with those exact choices.
Let AI handle the setup, and the upkeep
Chat with AI sits beside the editor on every tab. It builds the calculator, and months later it changes a rate, adds a floor, or restyles the calculator when you ask.
- Start from what you have: describe how you quote a floor, or attach your price sheet as a spreadsheet, CSV, or Excel file.
- Write and explain formulas: Describe with AI turns plain English into the carton formula. Explain formula turns any formula back into plain English.
- Fix wrong prices: tell it what the price should be and it opens the Troubleshoot tab on that exact case.
- Everything around the price: AI translation, an AI Style Assistant, and AI-generated swatch icons for each floor.
Can the calculator live on more than one page?
Yes. Appify Custom Product Options can place the same calculator on a collection, a landing page, or a blog post about choosing flooring.
Pick an associated product and it adds to cart from there.
What happens after the order?
The order carries the job. The customer's selections are saved with the order, and the carton count joins them once it's on the cart line.
Customers can fix a mistake in the cart. An Edit options button reopens the calculator, so a wrong measurement gets changed without starting over.
A second room is one click away. Shopify's own Buy again button drops every option. Appify Reorder brings back the whole configuration, and a Restore your cart link rebuilds abandoned carts the same way.
Selling abroad too? Prices convert automatically with Shopify Markets, and the calculator can run in multiple languages.
See a flooring calculator running
Our flooring page walks through the whole setup and links to a flooring calculator running on our Shopify demo store. Enter a room, set the waste percentage, and watch the box count change.
For the bigger picture on pricing custom products, read how to price complex custom products on Shopify. If you want to set a price floor, how to set a minimum price for custom products walks through it.
Still choosing an app? Here are the top Shopify pricing calculator apps in 2026, side by side.
FAQ
Can I show a price per square foot but sell by the carton?
Yes. The calculator charges whole cartons, and a Calculation field can show the price per square foot beside it.
Does the waste percentage go on before rounding?
It should, and the formula controls the order. Add waste to the area, divide by the square feet per carton, then round up. Rounding first can add a carton the customer doesn't need.
What if every floor has a different carton size?
That's normal. A pricing table holds each floor's square feet per carton, keyed by the floor the customer picks, so one calculator serves your whole range.
Can customers enter square footage instead of room size?
Yes. Offer an Area field alongside length and width, and use a visibility rule so only the one they choose shows.
Can I add underlayment and transition strips?
Yes. Link those store products to a choice and they're added to the cart with the floor, at their live Shopify price.
Will room sizes create extra variants?
No. Options and pricing live outside Shopify's variant system, so no room size becomes a new variant.
Can I limit the room sizes customers can enter?
Yes. Each measurement in a Dimensions field has its own minimum, maximum, and step, so sizes outside your range never reach the cart.
Do I need to write formulas?
No. Describe how you price a floor to Chat with AI and it writes the formula, or start from a calculator template and change the numbers.
Every room, priced to the carton.
Every feature, every plan · AI builds it for you · Nothing to outgrow