🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 31, 2026

How to Price Made-to-Measure Products by Width and Height in Gravity Forms

GravityExtra
How to Price Made-to-Measure Products by Width and Height in Gravity Forms

If you sell blinds, curtains, signs, glass, mirrors, fabric, worktops or fencing, your prices probably do not come from a formula. They come from a grid. Somewhere in your business there is a spreadsheet with widths across the top, heights or drops down the side and a price in every cell, and that grid is the result of years of knowing what each size really costs you in material, offcuts, labour and delivery. A blind that is 61 cm wide costs the same to make as one that is 90 cm wide, because both come from the same roll width and take the same time on the bench.

Gravity Forms is a popular choice for order and quote forms because its calculations and product fields can turn the answers on a form into a price. What it cannot do on its own is read a price grid. This guide explains why made-to-measure pricing needs a lookup table rather than a formula, how width and height pricing works, and how to set up an order form that finds the right price from your own grid while the customer types. It is written for shop owners and for the developers who build their sites, and it uses the Gravity Forms Price Lookup Tables add-on for the lookup.

Why a formula is the wrong tool for made-to-measure prices

The first idea most people have is to turn the price into maths: width times height times a price per square metre, plus a fixed fee. It works for a demo and fails with real orders, for several reasons:

  • Materials come in fixed sizes. Fabric rolls, glass sheets, aluminium panels and timber lengths have standard widths. A 61 cm blind uses the same roll as a 90 cm one, so it should cost the same, not a little more.
  • Labour is not proportional. Cutting, hemming, edge polishing and fitting take about the same time for a small and a medium item, then jump when an item needs two people or a special tool.
  • Some sizes are not made at all. A very narrow and very tall roller blind is unstable; a very large sheet of toughened glass may be beyond what your supplier can temper. A formula happily prices sizes you cannot make.
  • Your price list already exists. Suppliers send trade price grids, and your retail prices are built on top of them. Rewriting a grid as a formula means the website and the shop counter quote different prices.

A lookup table keeps the price list you already trust and lets the form read it, exactly like a person reading the printed grid: find the column for the width, find the row for the height, read the price.

How width and height pricing works

A price grid has two axes. The columns are one measurement (usually the width) and the rows are another (the height or drop). Every cell holds the price for that combination. When a customer types a size that is not exactly in the grid, there are three common ways to choose the cell:

  • Round up to the next size. This is the standard rule for made-to-measure goods. If your widths are 60, 90, 120 and 150 cm, a width of 61 cm is priced as 90 cm. The customer pays for the material that is actually used.
  • Nearest size. Some sellers price to the closest size, for example when the steps in the grid are small. A value exactly half-way usually goes to the larger size.
  • Exact size only. Standard products such as door heights, fence panel lengths or pre-cut boards come in fixed sizes. Any other value is simply not available.

Two more decisions finish the rules. What happens below the smallest size? Many shops charge the minimum size (a 40 cm blind costs the same as a 60 cm one); others refuse sizes they cannot make. And what happens above the largest size? There is no price in the grid, so the honest answer is a clear message asking the customer to get in touch.

A grid does not have to be two numbers. Quantity × material, size × finish and length × colour are grids too. One axis can be a list of words that matches a drop-down on your form, such as Foamex, Dibond and Acrylic for signs, or Oak, Walnut and Ash for shelves.

Use case 1: blinds and curtains

Roller, Roman, vertical and Venetian blinds are the classic example. A typical shop has one grid per fabric band or blind type, with widths in steps of 30 cm and drops in steps of 50 cm. Customers measure their recess and type the size; the form rounds both measurements up to the next size in the grid and shows the price straight away.

Most blind orders have extras: a fabric band surcharge, a motor, a chain colour, a fitting service. Each one can be its own small table or a normal Gravity Forms option, and a Calculation product adds them up and multiplies by the number of blinds.

A roller blind order form where a width of 61 cm and a drop of 101 cm are priced as 90 by 150 cm at 44.00, with a Sunscreen fabric surcharge of 12.00 and two blinds making a total of 112.00
The width and drop are rounded up to the next size in the grid; a second table adds the fabric surcharge.

Use case 2: signs and printing

Sign makers and large-format printers price by board size and material. A 600 × 400 mm Foamex sign, a 1200 × 800 mm Dibond panel and a banner of a given length each have their own price, and the price per square metre usually falls as the size grows. A 2D grid of width × height per material, or a grid of size × material with the size as a list of standard formats, reproduces this exactly. Quantity breaks fit naturally as a second table of quantity × material, so ten signs are cheaper each than one.

Use case 3: glass and mirrors

Glass cut to size is priced from supplier grids that already include cutting and edge work. Toughened glass has hard limits: below a minimum size the tempering process does not work, and above a maximum the sheet does not fit the furnace. That is exactly what the “below the smallest size” and “above the largest size” rules are for. Instead of quietly pricing an impossible panel, the form says “We cut widths from 300 to 2400 mm. Please call us for 2600 mm.” and the order cannot be sent until the size is right.

Use case 4: fabric, upholstery and soft furnishings

Fabric is sold by length from rolls of a fixed width, and cushion covers, seat pads and tablecloths are made to standard sizes. A 1D list is often enough: lengths of 0.5, 1, 1.5 and 2 metres with a price each, rounding up to the next half metre. Made-to-measure covers use a 2D grid of width × depth. When a product only comes in set sizes, the exact-size rule turns the grid into a list of the sizes you offer, and the message tells the customer which ones they are.

Setting up a price lookup form step by step

Here is the whole setup for a roller blind form. The same steps work for signs, glass or fabric with different labels.

  1. Add the measurement fields. Two Number fields, Width (cm) and Drop (cm). Make them required.
  2. Add the price field. A Number field called Blind price. It receives the price from the grid and becomes read-only on the form.
  3. Add the product. A Product field with the Calculation price type and a formula such as {Blind price:4} * {Quantity:6}, then a Total field. If you prefer, the price can go straight into a Product field with a User Defined Price instead.
  4. Create the table. In the form, open Settings, then Price Lookup, and click Add a table. Give it a name; the merge tag name is made from it.
  5. Map the axes. For the columns choose the Width field, the unit cm and the rule Round up to the next size. For the rows choose the Drop field with the same rule.
  6. Enter the prices. Type the widths across the first row, the drops down the first column and a price in each cell, or import your spreadsheet as a CSV file. Leave a cell empty for a size you do not make.
  7. Choose the price field and, if you like, write your own out-of-range message. Save.
The Price Lookup table editor with the Width and Drop axes mapped to form fields, the round-up rule, the Blind price field and the price grid
The table editor: two axes mapped to form fields, a rounding rule each, and the price grid.

That is all. Open the form, type a width and a drop, and the price appears with a short note such as “Priced as 90 × 150 cm”, so the customer can see why their 61 cm blind is priced as a 90 cm one.

Importing your price list from a spreadsheet

Nobody wants to type a hundred prices twice. Export the grid from your spreadsheet program as a CSV file with the widths in the first line and each following line starting with a drop, then import it into the table. Comma, semicolon and tab separated files all work, so files saved with European number settings are fine too. When prices change, edit the spreadsheet and import again: the sizes and prices are replaced and the rest of the table settings stay as they are. Sizes are always sorted from small to large, and each price stays with its size.

Keeping the price honest: the server checks every order

A price shown in a browser can be changed by anyone who knows how to open the developer tools. For a made-to-measure shop that matters, because the price field on the form is what ends up on the order. The add-on therefore looks every price up a second time on your server when the form is submitted, using the sizes the customer sent, and writes that price into the form before Gravity Forms validates and saves it. Whatever the browser sent for the price is ignored. Your calculations, the order total and any payment are worked out from the server’s price, and a submitted total that was changed in the browser no longer matches and is refused by Gravity Forms’ own total check.

Clear messages instead of wrong prices

The worst outcome for a made-to-measure order is a confirmed price for something you cannot make. A good price form refuses those sizes politely and explains why. With a lookup table, every case has a message: a size above your largest width, a size below your smallest when you do not make small items, a size that must be exact, a combination that is not available, and text where a number is expected. The message appears under the field while the customer types, the price is cleared so an old price cannot slip through, and the server shows the same message if the form is sent anyway. Your own wording can include the axis name, the value typed, the unit, the smallest and largest sizes and the full list of sizes.

What your team sees after the order

An order is only useful if the workshop knows exactly what to make. Every lookup is stored on the entry with three pieces of information: the size the customer entered, the size it was priced as and the price. The entry screen shows them in a small table, notifications can include them with merge tags such as {lookup:roller_blinds:size} and {lookup:roller_blinds}, and both the price and a readable summary are available as columns in the entries list and the CSV export. The workshop sees “entered 61 × 101 cm, priced as 90 × 150 cm” and cuts the blind to the real measurement.

A quick checklist

  • Use one table per product type or fabric band, and small tables for surcharges.
  • Pick the rounding rule per axis: round up for materials cut from stock sizes, exact for fixed products.
  • Decide what happens below your smallest size and write a friendly out-of-range message with your phone number.
  • Leave cells empty for combinations you do not make.
  • Send the price to a Number field and combine tables in a Calculation product when you need surcharges or quantities.
  • Put the units in your field labels so customers type the right numbers.
  • Test a few sizes on each edge of the grid before you go live.

Frequently asked questions

Can one form use several tables?

Yes. Each table reads its own fields and writes into its own price field, so a blind form can have a size grid, a fabric surcharge table and a motor table side by side.

Does it work on phones?

Yes. The price is looked up as the customer types, on any screen size, and the note and messages wrap neatly on small screens.

Do customers have to type numbers in the same unit as my grid?

The form compares the numbers as typed, so label your fields with the unit used in the grid, such as Width (cm). Decimal commas and points are both understood.

Does it work with multi-page and AJAX forms?

Yes. The sizes can be on one page and the price on the next; the price is looked up again on each page and on submit.

Is my price list sent anywhere?

No. Tables are stored with the form on your own site, and the lookup runs in the browser and on your server. Nothing is sent to an outside service.

Get started

Your price grid is the most accurate description of what each size costs you. Let your order form read it instead of approximating it with a formula, and every customer gets the same price your counter staff would quote. Read the setup guide for every option, or get the Gravity Forms Price Lookup Tables add-on and add width and height pricing to your forms today.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr