Two Boxes Short on Day Three Is a Planning Problem

Two Boxes Short on Day Three Is a Planning Problem

Before the Site Visit, Tile Quantity Automation for Flooring Contractors

Tile quantity automation reached Kantamneni Prithvi through a contractors’ group on Facebook. Kantamneni Prithvi is in a Facebook group for tile and flooring contractors from the coastal districts. One evening somebody posted a photo of two mismatched tile shades near a balcony door with the caption “Day 3, two boxes short, new batch, customer crying.” Under it, another contractor whose estimates my team had automated wrote, “Talk to Radha Krishna, he fixed this for us,” and shared my number. Prithvi garu called me the same night. He did not introduce himself properly. He just said, “Sir, is it true you can tell the boxes before we go to the showroom?”

He works out of Turangi, about 5 km from Kakinada, with two mason teams and a small pickup. That week, one of his teams had run short on a living room job. The showroom had the same tile, but from a different batch, a shade lighter. His senior mason laid them anyway because the customer wanted to move in on Sunday. “The day the furniture came, the lady of the house stood near the balcony door and looked at the floor for a long time,” Prithvi garu told me. “She did not shout. She just said, Prithvi garu, this was my dream house. I had no answer.”

His wife Riya garu keeps his accounts. When I visited Turangi, she showed me a cupboard full of unopened boxes from earlier jobs, extras the showrooms would not take back, already paid for. On one side, boxes he could not use. On the other, boxes he was short of. “Both are our money, Radha garu,” she said. “Either way, we lose.”

This guide is the tile quantity automation my team built for Prithvi garu, and since then for other flooring contractors and tile showrooms. You enter the room sizes, the tile and the laying pattern, and it returns the exact full tiles, every border cut, the box count, and a printed cut map the mason can follow, before a single box is ordered. It starts with the seven site mistakes that cost contractors the most, because each one became a rule in the tile quantity automation. Then you will see the build, how to run it in Google Sheets with Apps Script, n8n, Make, Zapier, Pabbly Connect or Activepieces, and what changed on his sites. If you would rather have it built, my team can do that for you.

Who orders tiles twice

The businesses that benefit most:

Most of these contractors run their quotes, bills and site notes on paper, which is where paperwork automation for small shops helps first. If you have never built a workflow, read automation for small Indian businesses without coding before the build below.

  • Flooring and tiling contractors handling several homes or shops a month, often with two or three mason teams.
  • Tile showrooms that give customers a quantity estimate at the counter and want to stop arguments about leftover or short boxes.
  • Builders and interior firms doing small residential projects without a quantity surveyor.

They usually estimate by area: room area plus a fixed 10 percent, divided by the area of tiles in a box. That rule is wrong in both directions, as the mistakes below show.

Mistake 1: the same wastage for every pattern

A straight lay in a rectangular room might waste 5 to 7 percent. The same tile laid diagonally can waste 12 to 15 percent, because every border tile is a triangle. A herringbone pattern wastes even more. Using 10 percent for all three means short boxes on diagonal jobs and extra boxes on straight ones.

Every contractor asks us the tile wastage percentage to use; the honest answer is that it depends on the room and the pattern, which is why the tile quantity automation counts it.

What the tile quantity automation does: it does not use an area-plus-percentage rule at all. It lays out the tiles on the actual room size and counts full tiles and cuts. Wastage becomes a result, not a guess. A small safety margin, set per pattern by the contractor, is added on top for breakage.

Mistake 2: forgetting that cuts can be reused

When a border tile is cut, the offcut is sometimes big enough for another border tile on the opposite wall. Experienced masons do this automatically. A calculator that assumes every cut wastes a full tile overestimates.

What the tile quantity automation does: it pairs cuts. If the left border needs a 230 mm piece from a 600 mm tile and the right border needs a 350 mm piece, one tile gives both, minus the blade width. The cut list shows which cuts come from the same tile.

Mistake 3: starting the layout from a wall

Starting full tiles from one wall leaves a thin sliver at the opposite wall. A 40 mm strip of tile is hard to cut, breaks easily and looks bad. Good masons centre the layout so both borders are equal and wide.

Border tile cuts are where most hand estimates go wrong, and they decide how the room looks at the main door.

What the tile quantity automation does: it centres the grid in both directions and checks the border width. If the centred border would be less than a third of a tile, it shifts the grid by half a tile so both borders become wider. This is the same choice an experienced mason makes, done every time.

Mistake 4: ignoring doorways, skirting and the bathroom slope

Doorways continue the floor into the next room. Skirting needs its own strips, usually cut from the same tile. Bathrooms slope toward the drain and need extra cuts around it.

What the tile quantity automation does: the room form has fields for door openings (width and which wall), skirting height and whether the room has a drain. Door openings add a strip of tiles to the count. Skirting is calculated as running metres around the room minus door widths, then converted to strips per tile. A drain adds a fixed number of cut tiles set by the contractor from experience.

Mistake 5: ordering in square feet, buying in boxes

Customers think in square feet; showrooms sell in boxes; boxes hold different numbers of tiles for different sizes. A 2 ft by 2 ft tile might come four to a box, a 2 ft by 4 ft two to a box, and a small wall tile ten or more. Converting by hand is where many mistakes start.

This is the question every customer asks first, how many tile boxes, and the answer has to be whole boxes from one batch.

What the tile quantity automation does: each tile in the Tiles tab has its size in millimetres, tiles per box and box coverage. The final number is always whole boxes, rounded up, with the number of spare tiles that leaves.

Mistake 6: different batches

Tiles from different production batches can differ slightly in shade and even size. Buying the shortfall later means mixing batches.

Prithvi garu now pays every new tile supplier only after he verifies the supplier’s GST number, because a supplier who cannot guarantee one batch usually has other problems too.

What the tile quantity automation does: the estimate is printed with a clear line: “Buy all 23 boxes from one batch. Ask the showroom to note the batch number.” The showroom version of the estimate includes the batch field on the bill.

Mistake 7: no plan on site

Even with the right quantity, a mason without a plan may start in the wrong corner and end with a sliver at the main door, the one place everybody looks.

What the tile quantity automation does: it prints a cut map: a grid of the room with full tiles shaded, cut tiles marked with their sizes, the starting point and the direction of laying. The mason starts from the marked point, and the borders come out as planned.

How tile quantity automation lays out a room

For a rectangular room with a straight lay, the logic is short. For each direction, it works out how many full tiles fit when centred, and the size of the border pieces on each side, including the grout joint.

// Centred straight lay along one dimension (all sizes in mm)
function axis(roomLen, tileLen, joint) {
  const pitch = tileLen + joint;
  let full = Math.floor((roomLen + joint) / pitch);
  let border = (roomLen - full * pitch + joint) / 2;          // equal border both sides
  if (border < tileLen / 3 && full > 1) {                     // too thin: shift by half a tile
    full -= 1;
    border = (roomLen - full * pitch + joint) / 2;
  }
  return { full, border: Math.round(border), cuts: border > 0 ? 2 : 0 };
}

const r = $json;   // room: Length, Width; tile: L, W; Joint
const along = axis(r.Length, r['Tile L'], r.Joint);
const across = axis(r.Width, r['Tile W'], r.Joint);
return [{ json: { ...r, along, across } }];

From the two axes, the room has four groups of tiles: full tiles in the middle, border tiles along the length (cut in one direction), border tiles along the width (cut in the other) and four corner pieces cut in both directions. The count is a short calculation:

const { along, across } = $json;
const fullTiles = along.full * across.full;
const lengthBorders = along.full * across.cuts;      // top and bottom rows
const widthBorders = across.full * along.cuts;       // left and right columns
const corners = along.cuts * across.cuts;            // up to 4

// Pair borders: one tile can give two border pieces if both fit with the blade width
const kerf = 3;
const pairAlong = (2 * across.border + kerf) <= $json['Tile W'];
const pairAcross = (2 * along.border + kerf) <= $json['Tile L'];
const tilesForLengthBorders = pairAlong ? Math.ceil(lengthBorders / 2) : lengthBorders;
const tilesForWidthBorders = pairAcross ? Math.ceil(widthBorders / 2) : widthBorders;

const tilesUsed = fullTiles + tilesForLengthBorders + tilesForWidthBorders + corners;
return [{ json: { ...$json, fullTiles, lengthBorders, widthBorders, corners, tilesUsed } }];

Diagonal and herringbone layouts use their own functions. For a diagonal lay we compute the rotated grid and count tiles whose area crosses the room boundary as cuts; for herringbone we lay rectangles in the pattern and count partial ones. Both are longer, but they follow the same idea: place real tiles on the real room, then count.

Finally, skirting, doorways, the drain allowance and the pattern’s breakage margin are added, and the total is turned into boxes:

const t = $json;
const skirtingRun = 2 * (t.Length + t.Width) - (t['Door Widths'] || 0);   // mm
const stripsPerTile = Math.floor(t['Tile L'] / t['Skirting H']) || 1;
const skirtingTiles = t['Skirting H'] ? Math.ceil(skirtingRun / t['Tile L'] / stripsPerTile) : 0;

const doorTiles = Number(t['Door Strip Tiles'] || 0);
const drainTiles = t.Drain === 'Yes' ? Number(t['Drain Allowance'] || 4) : 0;
const margin = Number(t['Breakage Margin %'] || 3) / 100;

const totalTiles = Math.ceil((t.tilesUsed + skirtingTiles + doorTiles + drainTiles) * (1 + margin));
const boxes = Math.ceil(totalTiles / t['Tiles Per Box']);
const spare = boxes * t['Tiles Per Box'] - totalTiles;
const roomArea = (t.Length * t.Width) / 1e6;
const wastePct = Math.round((totalTiles * t['Tile L'] * t['Tile W'] / 1e6 / roomArea - 1) * 100);

return [{ json: { ...t, skirtingTiles, totalTiles, boxes, spare, wastePct } }];

The waste percentage is reported, not assumed. Contractors find it interesting to see that a well-planned straight lay in a large hall wastes far less than their old 10 percent, and that a small bathroom with a diagonal lay wastes much more.

The cut map

The cut map is drawn in a Google Sheet, which prints cleanly and needs no design software. A Code node writes a grid where each cell represents a tile position. Full tiles are filled light grey, border tiles in the brand blue with their cut size written inside, corners in saffron, and the start tile marked with an arrow. Column widths and row heights are set so the grid keeps the room’s proportions on paper.

The Google Apps Script documentation explains how a script can set cell colours and borders; in our build, n8n writes the values and an Apps Script function bound to the sheet does the formatting when a new map tab is created. The printed map goes to the mason with the estimate stapled to it.

For large halls, the map is split into pages by quarters. Each page shows its position in the room in a small corner diagram, so the mason knows which quarter he is looking at.

The build in n8n

  1. Webhook receives a form submission from the site visit: customer, rooms (length, width, doors, skirting height, drain), tile chosen, pattern and joint width. The n8n documentation covers the Webhook node and how to call it from a form.
  2. Google Sheets: Tiles reads the chosen tile’s size, tiles per box and price.
  3. Split Out turns the rooms into separate items so each is laid out on its own.
  4. Switch on pattern: Straight, Diagonal, Herringbone, each to its own Code node.
  5. Code: count and boxes (the code above).
  6. Aggregate sums boxes across rooms of the same tile. Rooms with different tiles stay separate.
  7. Google Sheets: write Estimate and Cut Map tabs, one map tab per room.
  8. HTTP Request to the sheet’s Apps Script web app to format the map tabs.
  9. Google Drive: export PDF of the estimate and maps.
  10. Telegram: send the PDF to the contractor, and to the showroom if the estimate is for a showroom counter.

The whole run takes under a minute for a typical three-bedroom home. A contractor at the site can show the customer the box count and the cut map before leaving.

Running tile quantity automation on other platforms

PlatformHow it fitsWhat to watch
Google Sheets + Apps ScriptEverything inside one sheet; a menu button runs the layoutBest for a single contractor; no extra account
n8nThe build above; easy to connect to quotes and supplier ordersNeeds hosting, or n8n Cloud
MakeWebhook, Iterator over rooms, Router by pattern, custom code where your plan allowsDiagonal and herringbone logic is long for no-code modules; keep it in code or Apps Script
ZapierGoogle Forms trigger and one Code by Zapier step per estimateCode steps have time limits; keep layouts per room small
Pabbly ConnectForm trigger, Code by Pabbly, Sheets and Drive actionsSimilar to Make; fixed pricing suits seasonal work
ActivepiecesClose to n8n; code pieces per patternGood open-source alternative with a simpler editor

For most single contractors we recommend starting with the Sheets and Apps Script version. The tile quantity automation is a set of functions bound to the sheet, a custom menu item “Lay out this room” runs them, and the cut map is formatted in the same script. When the contractor wants estimates to flow into quotes, purchase orders or a showroom’s billing, moving the same code into n8n is straightforward because the functions do not change.

Some people call this tile layout automation; the layout and the box count are the same calculation.

Rooms that are not rectangles

Real homes have L-shaped living rooms, bay windows, pillars and kitchens with counters on three sides. The form handles these in two ways.

An L-shaped room is entered as two rectangles that share an edge. The tile quantity automation lays out both with one shared grid, so the tile joints line up across the join, and counts cuts at the outer edges only. A pillar or a fixed counter is entered as an exclusion rectangle with its position; tiles inside it are removed from the count and tiles around it are marked as cuts on the map.

For rooms that cannot be split into rectangles, such as a curved balcony, the tile quantity automation falls back to area plus the pattern’s typical waste, and clearly marks that room “estimated by area, check on site”. Honesty about what the calculator cannot do is part of why masons trust it for everything else.

Wall tiles are a different job

Floors get most of the attention, but kitchens and bathrooms use as many wall tiles as floor tiles, and wall estimates go wrong in their own ways. A wall has windows, doors, a mirror, a geyser and a dado line where tiles stop. The first row starts above the floor tile or skirting, not at zero. And wall tiles are usually smaller, so a small mistake in count becomes many tiles.

For walls, the form asks for each wall’s width, the tiling height (full height or dado height), and openings as rectangles with their position. The tile quantity automation lays out the wall the same way as a floor, centred horizontally so both corners get equal cuts, but starts vertically from the bottom, because a full tile at the bottom row is what looks right. The top row is the cut row, and it is hidden under the ceiling line or a border tile.

Openings remove tiles from the count, but the tiles around an opening are cuts. A window on a bathroom wall typically adds eight to twelve cut tiles around its frame, and many hand estimates forget them. The cut map for a wall shows the window as a dark rectangle with its surrounding cuts marked, so the mason knows exactly which pieces to prepare.

Feature tiles and borders are handled as a separate tile in the same estimate. If the customer wants a decorative band at 1,200 mm, the band is its own row with its own tile, and the main tile count drops by that row. The estimate lists both tiles with their boxes, because they are bought separately and often from different batches anyway.

A whole house in one visit

Contractors rarely estimate one room. They walk through a home and estimate everything: living room, bedrooms, kitchen floor and walls, bathrooms, balcony and staircase. Doing that by hand takes an evening. With the form, the contractor or his site measurer fills one submission per room while walking through, and the pipeline returns one combined estimate.

A flooring contractor estimate for a full flat used to take Prithvi garu an evening; this tile calculator for contractors does it while he is still on site.

He is on sites from morning to evening, so estimates, approvals and delivery checks all reach his phone, the same way our remote shop management setup works for owners away from the shop.

The combined estimate groups rooms by tile. If three bedrooms use the same tile, their boxes are added before rounding, because buying 37 boxes is better than rounding three rooms up separately to 38 or 39. Each room still has its own cut map, and the estimate shows which boxes belong to which rooms so the mason can stack them in the right place on delivery day.

Staircases are the one part we treat differently. Each step has a tread and a riser, often with a nosing tile at the front edge, and the counts are entirely cuts. The form asks for the number of steps, tread depth, riser height and width, and whether there is a landing. The tile quantity automation counts pieces per step and multiplies, which is closer to how masons think about stairs than any area calculation.

Before the tile quantity automation, Prithvi garu spent his evenings after site visits doing estimates on the back of bills while Riya garu waited to close the accounts. Now the estimate for a whole flat arrives on his phone before he leaves the building. He gives the customer a number on the spot, and he says that alone wins him more jobs than any discount.

What the masons said

We expected masons to be sceptical, and the first reaction was exactly that. “I have laid tiles for twelve years; I don’t need a paper to tell me where to start.”

Three things changed their minds. First, the centred layout matched what the best mason on the team already did, which made the map feel like his own method written down rather than something imposed. Second, the cut sizes on the map saved time at the cutting machine: instead of measuring each border tile against the wall, the mason could cut a stack of border pieces to the printed size in one go, then check only the first. Third, there were no more short boxes. A mason who has been blamed for a shortage he did not cause appreciates a system that prevents it.

Junior masons gained the most. A young mason laying his first full room alone could follow the map and get borders as even as his senior’s. Contractors started using the maps as a way to give junior masons responsibility earlier, which helped them take on more jobs at once.

We also learned to keep the map simple. Our first maps had every dimension on every tile and were too busy to read on a dusty floor. The current maps show only cut sizes and the start point, with full tiles left plain. Less information made the map more useful.

Showroom counter version

Tile showrooms use a lighter version. The salesperson enters room sizes the customer brings, picks the tile from the showroom’s own catalogue in a dropdown, and gets boxes, price and a simple map in seconds. The estimate prints with the showroom’s name, the tile code, the batch line and a note that opened boxes are not returnable.

Showrooms that get enquiries from B2B portals should read why IndiaMART leads do not convert, and the counter should know how to spot a fake UPI screenshot before handing over boxes.

Showrooms tell us two things change. Fewer customers come back angry about short or extra boxes, and salespeople can confidently suggest a larger tile or a different pattern, because they can show the effect on boxes and price immediately.

From estimate to delivery

An exact estimate only helps if the order and the delivery follow it. Two small additions close that loop.

Customers who pay in stages get a polite payment reminder when each stage is due, and any stranger asking for a huge rush order with an advance is checked against our bulk order fraud warning signs.

The first is a purchase list. When the customer approves the estimate, the contractor taps Approve in the Telegram message, and the workflow writes a Purchase List tab: each tile with its code, boxes, the single-batch instruction, adhesive bags, grout kilos and spacers. Adhesive and grout are calculated from area with the supplier’s coverage figures, which the contractor enters once per product. Many contractors told us adhesive was their second most common shortage after tiles, so including it in the same list removes another day-three phone call.

The second is a delivery check. When the boxes arrive on site, the mason counts them and replies to the bot with the number and the batch code printed on the boxes. If the count or batch does not match the estimate, the contractor gets an alert before a single tile is laid. A wrong batch caught at delivery can be exchanged easily; a wrong batch caught after half the floor is laid cannot.

Both additions take the estimate from being a number on paper to being the plan the whole job follows. The contractor can see, for every job, what was estimated, what was ordered, what arrived and what was left over. After a few months, that record shows whether the breakage margins are right. If a team consistently uses all its spare tiles on diagonal jobs, the margin for diagonal goes up by a percent. If spares come back on every straight job, it comes down. The calculator gets better with the business’s own data.

Showrooms use the same delivery check in reverse. When a customer’s order is packed, the packer scans or types the box count and batch, and the system compares it with the estimate before the truck leaves. It is a simple step that avoids the most common complaint showrooms receive.

There is one more benefit that owners appreciate. When a customer disputes a bill months later, saying they were sold too many boxes, the contractor or showroom can show the estimate, the cut map and the delivery record. Disputes end quickly when the numbers were written down before the work began.

Testing tile quantity automation before the first real order

Test roomWhat to check
3,000 × 3,000 mm, 600 × 600 tile, straight4 full across and down plus equal borders; borders not thinner than 200 mm
Same room, diagonalHigher waste than straight; corner triangles counted
2,410 × 1,800 mm bathroom with drainDrain allowance added; borders shifted if too thin
Hall 6,000 × 4,500 mm, skirting 100 mmSkirting tiles counted from strips per tile
L-shaped roomJoints line up across the join
Tile with 3 per boxBoxes rounded up, spare tiles shown

We also ask the contractor to estimate one recent job both ways, by the old rule and by the calculator, and compare with what was actually used. On every job we have checked, the calculator was closer.

What to do with the spare tiles

Every estimate ends with a few spare tiles. The estimate tells the customer how many, and we suggest the contractor leaves them with the customer with the batch number written on the box. When a tile cracks two years later, the replacement matches. Customers remember a contractor who did that.

Riya garu photographs every finished floor for their AI product videos and catalogue photos, happy customers are asked for genuine Google reviews, and when their listing once failed Google Business Profile video verification, they fixed it the same week. Young engineers looking at contracting as a business can read business ideas for engineering graduates.

The estimate itself is worth keeping too. We store every estimate and cut map in a Drive folder named by customer and date. When the same customer calls years later to tile a new balcony or redo a bathroom, the contractor can open the old estimate, see which tile and batch were used, and check whether the showroom still stocks it. That kind of follow-up turns one job into a long relationship, and in a business that grows by word of mouth, long relationships are the whole marketing plan.

Frequently Asked Questions

What is tile quantity automation?

It is a calculator that lays out real tiles on the real room size, counts full tiles and cut pieces, adds skirting, doorways and a breakage margin, and gives whole boxes plus a printed cut map before the tiles are ordered.

How much wastage should I add for tiles?

It depends on the pattern and room. Instead of a fixed percentage, this automation calculates the actual cuts, then adds a small breakage margin you set per pattern.

Does it work for diagonal and herringbone patterns?

Yes. Each pattern has its own layout function, and the waste for these patterns is calculated from the real cuts, which is usually higher than a straight lay.

Can a tile showroom use it at the counter?

Yes. The showroom version uses the shop’s own tile catalogue and prints boxes, price, a simple cut map and a single-batch note.

Can I build this without n8n?

Yes. Google Sheets with Apps Script runs the full calculator and cut map for free, and Make, Zapier, Pabbly Connect and Activepieces can run it with a code step.

Tags
Share Article:

Radha Krishna

I am Radhakrishna, Founder and lead author at UpcomingTools.com, where I write Business Guides and Automation Guides for low investment automation in India. With 3 to 5 years offline experience serving small businesses only through trust and referrals, I now build software only workflows for lead follow up, bookings, quotes, stock, invoices and reporting and fix failed runs, expired tokens and unsafe AI and RAG answers. Every guide and workflow is written and decided by me, personally checked and live tested before publishing. I build in your own accounts on live, so your keys stay yours, show a rough demo before build and give 3 to 6 months free support with free tool help and ZERO SERVICE CHARGE for eligible starters.

Leave a Comment

UpcomingTools logo - Nation First, Build The Best, Pass The Test