Skip to content

How to Charge by Square Foot on Shopify (or Square Meter)

Shopify product page for a vinyl banner with width and height fields in inches, material buttons, the area in square feet and a price calculated per square foot
In short

With APO Product Options, you can charge by the square foot on Shopify: customers enter width and height, and the price is the area times your rate. Each material can have its own rate, small sizes can have a minimum price, and the area can round up to whole square feet, all in one option set instead of a variant for every size.

Banners, signs, glass, acrylic sheets, window film, wallpaper, rugs — whatever you cut to size, you probably quote it per square foot (or per square meter). Customers know the size they need, and you know your rate. Shopify sits in the middle and only knows fixed products and variants.

This guide shows how to set up area pricing in APO step by step: the size fields, a rate per material, a minimum price for small orders, rounding up, and edging priced by the foot. The example throughout is a vinyl banner from our demo setup, with sizes in inches and a price per square foot. Your rates and sizes will be different; the setup is the same.

Why variants and unit pricing don’t solve it

Variants. “2 × 4 ft”, “3 × 6 ft”, “4 × 8 ft” work if you only sell a handful of standard sizes. Custom sizes don’t fit into a variant list, and every material multiplies it.

Unit pricing. Shopify can show “$4.00 / sq ft” next to a product, but only for a product with a fixed size. It displays a price; it doesn’t take the customer’s width and height and calculate one.

A width and height field with a formula takes any size within the limits you set and prices it the moment the customer types it in.

How to charge by square foot, step by step

Step 1. Add the size fields

In APO, open your option set and add two Number field options: “Width (in)” and “Height (in)”. For each:

  • put the unit in the title, so customers know what to type;
  • set the minimum and maximum size you can produce;
  • set the step — 1 for whole inches, 0.5 for half inches;
  • make it a Required option.

Step 2. Give each material its own rate

Add a Material option with buttons, turn on Enable formula-based pricing and enter each value’s price per square foot in Calculation variables:

Material Calculation variable (price per sq ft)
Vinyl 4.00
Mesh 5.50
Fabric 7.00

If you sell only one material, skip this option and type the rate straight into the formula.

Step 3. Build the formula

Open the Calculations tab, add a formula and use the result as Increase price $:

Width * Height / 144 * Material

A 36 × 72 inch vinyl banner is 36 × 72 / 144 = 18 sq ft, times $4.00 = $72.00. Set the product’s own price in Shopify to $0 if the whole price comes from the formula, or keep a set-up fee there that every order pays.

Vinyl banner configurator on a Shopify product page: width and height in inches, material buttons, edge finish, the price breakdown and the calculated price

Inches, feet or meters

The formula works in whatever unit your customers type. Only the divisor changes:

Customers enter You charge per Formula
Inches Square foot Width * Height / 144 * Rate
Feet Square foot Width * Height * Rate
Centimeters Square meter Width * Height / 10000 * Rate
Millimeters Square meter Width * Height / 1000000 * Rate

A 300 × 250 cm wallpaper mural at $22 per m² is 300 × 250 / 10,000 = 7.5 m², so $165.00. Pick one unit per product and put it in the field titles; mixing inches and centimeters on one product page is how wrong orders happen.

Set a minimum price for small sizes

Area pricing makes small pieces very cheap: a 12 × 18 inch vinyl banner is 1.5 sq ft, so $6.00 — less than your set-up time. Wrap the formula in MAX to charge at least a minimum price:

MAX(Width * Height / 144 * Material, 25)

MAX takes the bigger of the two numbers. The 12 × 18 inch banner now costs $25.00, and anything with an area price above $25 keeps its area price.

Where the minimum applies

The minimum bounds the formula result. The product's own Shopify price and fixed-price option values are added on top, so keep the product price at $0 if you want $25 to be the minimum total.

Round up to whole square feet

Many sign and glass shops charge whole square feet. Wrap the area in CEIL, which rounds any part of a unit up:

MAX(CEIL(Width * Height / 144) * Material, 25)

Order Area Exact price Rounded up
12 × 18 in, Vinyl 1.5 sq ft $6.00 → $25.00 minimum 2 sq ft → $25.00 minimum
30 × 50 in, Vinyl 10.42 sq ft $41.67 11 sq ft → $44.00
36 × 72 in, Mesh 18 sq ft $99.00 18 sq ft → $99.00
48 × 96 in, Fabric 32 sq ft $224.00 32 sq ft → $224.00

If you charge the exact area instead, round the result to cents with Round(Width * Height / 144 * Material, 2).

APO formula editor with the banner price formula: MAX of CEIL of Width times Height divided by 144, times Material, and 25, used as Increase price

Charge for edges, hems or frames by the foot

Hems, grommets, polished glass edges and frames are priced by the length of the edge, not the area. Add a second formula for them:

  1. Add an Edge finish option with formula-based pricing and a rate per foot of edge as the calculation variable: None 0, Hemmed 1.00, Hem + grommets 1.50.
  2. Add a second formula: (Width + Height) * 2 / 12 * Edge finish — the perimeter in inches, divided by 12 for feet, times the rate.

A 36 × 72 inch banner has (36 + 72) × 2 / 12 = 18 ft of edge. With hem and grommets, that’s 18 × $1.50 = $27.00 on top of the area price: $99.00 + $27.00 = $126.00 for the mesh banner. APO adds the results of both formulas, and the customer sees one price.

Extras that cost the same on any size — a pole pocket, a design check, rush production — don’t need a formula. Make them ordinary option values with a fixed price.

Same setup, other products

Product Fields Formula
Glass or acrylic Width and height in inches; Thickness with a rate per sq ft MAX(Width * Height / 144 * Thickness, 30) + polished edges by perimeter
Window film Width and height in inches; Film type CEIL(Width * Height / 144) * Film type
Wallpaper or murals Width and height in cm Width * Height / 10000 * Paper
Round rugs Diameter in inches; Material π * (Diameter / 2) ^ 2 / 144 * Material
Flooring sold by the box Room area in sq ft CEIL(Area * 1.1 / 22) * 89 — 10% waste, 22 sq ft boxes at $89

The numbers in the table are examples. Swap in your own rates, minimums and box sizes.

Wrap-up

Charging by the square foot on Shopify comes down to one formula: width times height, converted to the unit you charge in, times your rate. Add a rate per material, MAX for small orders, CEIL if you charge whole square feet, and a second formula for edges. Build it once and assign the option set to every product you cut to size.

For the other pieces a formula can use — price tiers, IF conditions, the product’s own price — see our guide to formula-based pricing on Shopify. For products priced from a base price plus size, like doors and windows, read how to set up made-to-order pricing. The formula reference in our knowledge base lists every function.

Note

Formulas are available on the APO Growth and Scale plans.

Price any size by the square foot

APO Product Options: width and height fields, a rate per material, minimum prices and rounding in one option set.

Try it free on Shopify 14-day free trial

Frequently Asked Questions

Which Shopify app can price a product by width and height with a minimum price?

APO Product Options does it with a formula. Add Width and Height number fields, give each material its rate as a calculation variable, and use MAX for the minimum: MAX(Width * Height / 144 * Material, 25) charges at least $25 for small sizes and the area price for everything larger.

How do I convert inches to square feet in the formula?

Divide by 144, because one square foot is 12 × 12 = 144 square inches. A 36 × 72 inch banner is 36 × 72 / 144 = 18 square feet. For centimeters to square meters, divide by 10,000.

Isn't Shopify unit pricing enough to sell by the square foot?

No. Shopify unit pricing only displays a price per unit next to a product with a fixed size, such as a 20 sq ft roll. It doesn't let customers enter their own width and height, and it doesn't calculate a price from them.

Can each material have its own price per square foot?

Yes. Make the material an option with formula-based pricing and enter each value's rate as its calculation variable. The formula multiplies the area by whichever material the customer picked, so one option set prices every material.

Can I round up to whole square feet?

Yes. Wrap the area in CEIL: CEIL(Width * Height / 144) * Material charges a 10.42 sq ft banner as 11 sq ft. Use Round(…, 2) instead if you charge the exact area to the cent.

Which APO plan do I need to charge by square foot?

Formulas are included in the APO Growth and Scale plans, both with a 14-day free trial.

Vitali
Written by
Vitali

Vitali leads Mageworx with sharp ideas and eCommerce expertise. Always innovating, he finds smart solutions—except when he's busy pretending not to work.