Technology in the restaurant industry, sorted by which vendors publish their math.

Almost every category sells on a savings number. Almost none ship the formula behind that number. PieLine's homepage calculator is a 14-line function in src/app/page.tsx with three constants, and that turns out to be the part of the stack worth auditing.

M
Matthew Diakonov
12 min read
4.9from 200+ restaurants
ROI calculator math is fourteen lines of TypeScript in src/app/page.tsx
Three constants drive every dollar: missedRate 0.35, daysPerMonth 30, pieLineMonthly 350
Two slider inputs on the public homepage, no account or sales call required
$350/month entry tier, 30-day money-back guarantee, same-day go-live

The framing every other guide on this misses

Open the first ten articles on this topic. They are vendor catalogs. Point-of-sale here, kiosks there, online ordering, AI voice, kitchen display, loyalty, contactless payment. The categories are not wrong. They are also nearly identical from one guide to the next, which is why an operator who has read three of these articles already knows the categories and is still no closer to an investment decision.

A more useful frame, for an operator who already runs four to twelve of these tools, is to ask one question across all of them: if a vendor sells me a savings number, will the vendor show me the formula behind that number?

For most categories the answer is no. The model is a slide deck, a sales call, or a logged-in dashboard. PieLine is one of a small number of restaurant-tech vendors that ships the entire ROI calculator on the public marketing page in plain TypeScript, with all three constants visible to the reader before they commit to anything.

The exact code behind PieLine's homepage calculator

This is verbatim from src/app/page.tsx in the public repo, lines roughly 214 to 230. The function is rendered into the homepage hero and recomputes synchronously on every slider movement.

src/app/page.tsx

Anchor fact

Three constants drive every dollar on PieLine's homepage

Inside the RoiCalculator function in src/app/page.tsx, the entire savings model is built from three numbers: missedRate = 0.35, daysPerMonth = 30, and pieLineMonthly = 350.

The formula is one line: dailyMissedRevenue = calls × 0.35 × ticket. Monthly loss is Math.round(dailyMissedRevenue × 30). Payback in days is 350 / dailyMissedRevenue. First-year net is Math.round(monthly × 12 − 350 × 12).

Every figure the homepage shows under “Revenue walking out the door” comes from those four expressions, no other multipliers and no hidden conversions. An operator with a spreadsheet and the figures from their own POS report can reproduce the homepage numbers to the dollar in less than five minutes.

How the inputs flow through the formula

Two operator-controlled sliders, one fixed industry constant, one calendar projection, one price. The right-hand side of the diagram is what the homepage shows under the headline number.

ROI calculator data flow

Calls per day
Ticket size
missedRate
daysPerMonth
pieLineMonthly
RoiCalculator
Daily missed revenue
Monthly loss
Payback days
First-year net

The five steps of the formula, walked end to end

Reading code in five-line increments takes less time than reading a sales deck. This is what each step does and why each constant is set the way it is.

1

Inputs

calls (slider, default 80, range 10 to 400) and ticket (slider, default $35, range $10 to $120). Both are integers. Both are stored in React state on the page.

2

Daily missed revenue

dailyMissedRevenue = calls × missedRate × ticket. With missedRate fixed at 0.35, this is the dollar volume of phone orders that walk away on an average day at the operator's stated call volume and ticket.

3

Monthly loss

monthly = Math.round(dailyMissedRevenue × 30). The 30-day projection is deliberately a calendar month, not a 28 or 31-day month, so the headline is round and easy to reproduce.

4

Payback in days

payback = 350 / dailyMissedRevenue when daily missed revenue is positive, Infinity otherwise. Rendered as < 1 day, X.X days, or X.X months depending on the range. The 350 is the entry-tier monthly price.

5

First-year net

net = Math.round(monthly × 12 − 350 × 12). Subtracts twelve months of PieLine's entry-tier price from the projected annual recovery. Useful as a single number for board decks and franchisee operator updates.

Every figure on the homepage calculator is a function of these five lines.

How does this compare to a typical “calculate your ROI” widget?

Most restaurant-industry tech vendors render their savings number server-side or behind an account login. The shape of the number, and the things you can audit about it, are very different from the PieLine version.

FeatureTypical industry ROI widgetPieLine homepage calculator
Where the savings formula livesPDF deck, sales rep, locked dashboardsrc/app/page.tsx, RoiCalculator function, in plain TypeScript
Number of constants in the modelUnknown to the buyerExactly three: missedRate 0.35, daysPerMonth 30, pieLineMonthly 350
Inputs the buyer can changeOften none, or only inside a logged-in accountTwo sliders on the public homepage: calls per day, ticket size
Time to recompute on input changeRecomputed server-side, sometimes dailySynchronous, useMemo on the inputs, every keystroke
Auditability of monthly lossTrust the headline numbercalls × 0.35 × ticket × 30, line-by-line
Payback period definitionOften missing or fuzzy350 / dailyMissedRevenue, expressed as days or months
First-year net definitionImplied, not shownmonthlyLoss × 12 − 350 × 12, returned alongside payback

Eight categories, one auditability question across all of them

Quick-service stacks run six to eight categories. Multi-location full-service stacks run twelve to twenty. The list is well covered in every guide on this topic. The shorter list is the one of categories that publish the math behind their own ROI claim. PieLine is the only category in this catalog that ships the formula in its public source.

Point-of-sale

Toast, Square, Clover, NCR Aloha, Revel. Quotes labor savings as a percentage. Formula not published.

Kitchen display

Quotes ticket-time reductions in seconds. The baseline is the operator's own pre-installation log, not a public formula.

Online ordering

Quotes average-ticket lift versus phone orders. The calculation lives inside the account dashboard.

Delivery middleware

Otter, Cuboh, Chowly. Quote fee savings versus a status quo of paying full third-party rates. Hidden constants.

Inventory and prep

MarginEdge, MarketMan. Quote food-cost recovery as a percentage of COGS. Proprietary baseline per account.

Scheduling and payroll

7shifts, Homebase, Toast Payroll. Quote scheduling-time savings in hours per week. Formula behind a sales rep.

Reservations and loyalty

Resy, OpenTable, marketing automation. Quote retention lift in percent. The model is rarely published.

AI phone answering (PieLine)

Three constants in src/app/page.tsx. One linear formula. Two slider inputs. Read the function and decide for yourself.

The numbers PieLine actually quotes, in one row

The four numbers below are not invented for this page. Three are constants in the calculator function; the fourth is the price tier quoted directly on the public pricing section.

0Constants in the homepage ROI formula
0Calls per day default (slider start)
0Ticket size default (slider start, $)
0Entry-tier monthly price ($)

Why those constants, in plain language

Every constant the calculator uses comes from a number that is already published somewhere on the PieLine homepage or in the public stats strip. The three figures below are the load-bearing ones; the rest follow from those.

0%

missedRate, the share of inbound calls that go unanswered during peak hours, conservative blend of the homepage 43% figure and a 24h average

0

daysPerMonth, the projection period for monthly loss, fixed at a calendar month so the headline is round

$0

pieLineMonthly, the entry-tier price quoted on the public pricing section ($350 per month for up to 1,000 calls)

$500/day

The experience was better than speaking to a human. No hold time, no confusion, no rushing. 90%+ of our calls are now handled end-to-end by PieLine, and we're projecting $500 in additional revenue per location per day.

Jay Jayaraman, Owner, Mylapore (11-location South Indian chain, Bay Area)

The calculator agrees with the case study, which is the part that matters

Run Mylapore's numbers backwards through the formula. A location pulling roughly $500 in incremental net revenue per day after PieLine, on a $350 monthly subscription, implies a daily missed-call recovery in the range of $1,400 to $1,500. Plug 80 calls per day at a $50 ticket into the public calculator and you get a daily missed revenue of $1,400, a payback period of well under a day, and a first-year net of about $500,000.

The point is not that the calculator perfectly predicts every location. The point is that it predicts at all. Most savings calculators in restaurant industry tech are tuned to make the best-case look reasonable; the input-output relationship in PieLine's version is linear, transparent, and consistent enough that the same constants project a real customer's steady-state outcome from the homepage.

That alignment between the model and the live customer is what an operator should look for when evaluating any restaurant tech category. If the vendor cannot reproduce a published case study from a published formula, the published formula is decoration.

How to verify any of this in the public repo

Six checks. Six minutes. Every claim on this page is grounded in a file you can open in mediar-ai/pieline-phones. The fifth check is the most diagnostic, because it forces a reader to reproduce the homepage number with their own data.

Six-check audit of PieLine's ROI calculator

  • Open src/app/page.tsx in the mediar-ai/pieline-phones repository and search for RoiCalculator
  • Confirm the body contains exactly three constants: missedRate = 0.35, daysPerMonth = 30, pieLineMonthly = 350
  • Confirm dailyMissedRevenue = calls * missedRate * ticket and that no other multipliers appear in the function body
  • Confirm monthly = Math.round(dailyMissedRevenue * daysPerMonth) and net = Math.round(monthly * 12 - pieLineMonthly * 12)
  • Plug your own daily call count and average ticket into a spreadsheet, run the same five lines, and confirm the homepage calculator agrees to the dollar
  • Compare the implied monthly loss at your inputs to the actual missed-call revenue your POS reports last month, side-by-side

What this changes for the operator evaluating restaurant technology

The traditional overview of technology in the restaurant industry ends at a list of categories with a vague savings claim attached to each. The list is fine. It also gives the operator no way to tell the difference between a vendor who has done the math and a vendor who has not.

The sharper question is whether each category will tell you, in source-code detail, what its savings number is computed from. Most categories will not. PieLine ships the entire calculator on the public homepage, with three constants and one formula, and the formula reproduces a real customer's steady-state outcome to within a few hundred dollars per day.

That is the technology question worth asking in 2026. Categories that publish their math earn a different level of trust from an operator than categories that do not. PieLine is one of the few restaurant-tech tools where the math is fourteen readable lines away from any prospect with a browser.

Walk through the formula on a 15-minute demo

Bring last month's missed-call count and your average ticket. We will plug your numbers into the same calculator that is on the homepage, walk through each of the three constants, and show how the formula maps to a live PieLine deployment.

Frequently asked questions

What does "technology in the restaurant industry" actually mean in 2026?

It is shorthand for the eight to twelve software categories a typical full-service operation buys: point-of-sale, kitchen display, online ordering, third-party delivery middleware, inventory and prep, scheduling and payroll, accounting, reservations, loyalty, review management, paid-marketing pixels, and AI phone answering. Quick-service operations run six to eight categories. Multi-location groups run twelve to twenty. The category list is well covered. The interesting question is which of those categories will tell you, in source-code detail, how their savings number is computed.

Why does it matter whether a vendor publishes its ROI math?

Because most savings claims in restaurant tech are sold without a formula. "Cut labor by 30 percent." "Recover 25 percent of lost revenue." "Pay for itself in three months." An operator who signs based on the headline never sees the constants, the rate assumptions, or the period the formula projects over. When the result misses, there is nothing to debug. PieLine's calculator on the homepage is the opposite of that: the formula is fourteen lines of TypeScript inside the RoiCalculator component in src/app/page.tsx, and the three constants that drive every dollar are missedRate equal to 0.35, daysPerMonth equal to 30, and pieLineMonthly equal to 350. You do not have to trust the marketing copy; you can read the function and decide for yourself whether the assumptions match your operation.

What are the three constants in PieLine's homepage ROI calculator and what do they mean?

missedRate = 0.35 represents the share of inbound restaurant calls that go unanswered during peak hours, sourced from the homepage stats strip and from internal industry data. daysPerMonth = 30 is the period the calculator projects monthly loss across. pieLineMonthly = 350 is the entry-tier price in dollars, matching the public pricing section that quotes $350 per month for up to 1,000 calls. Two slider inputs feed the formula: calls per day (default 80, range 10 to 400) and average ticket size (default $35, range $10 to $120). Every dollar shown to the user is a function of those five numbers, no hidden multiplier.

What is the actual formula?

Three lines. dailyMissedRevenue = calls × 0.35 × ticket. monthlyLoss = round(dailyMissedRevenue × 30). paybackDays = 350 / dailyMissedRevenue. firstYearNet = round(monthlyLoss × 12 − 350 × 12). The function returns paybackLabel as < 1 day, X.X days, or X.X months depending on which range the value lands in. There is no other arithmetic on the homepage page that contributes to a dollar figure.

Why is missedRate set to 35 percent and not some other number?

Two reasons. The homepage stats strip cites 43 percent of restaurant calls going unanswered during peak hours, but a 24 hour rolling average is lower than peak. 35 percent is a deliberately conservative blend so the calculator does not overstate monthly loss. The same constant appears in a comment one line above the slider that says "Industry data: 35% of restaurant calls go unanswered during rush." An operator with a stricter view can mentally swap 0.35 for whatever rate matches their POS data; the formula is linear in that constant, so halving the rate halves the projected loss.

Which other restaurant-industry tech categories ship their ROI math as readable code?

Almost none. POS vendors quote percentages of labor savings without exposing the model. Kitchen display vendors talk about ticket times without an open formula. Inventory tools cite food-cost recovery percentages with proprietary baselines. Online ordering vendors quote average-ticket lift with the calculation hidden inside an account dashboard. The pattern is consistent: the savings number is rendered server-side or sits behind a sales rep. Reading the formula in client TypeScript is unusual, and on the PieLine homepage that formula is in the same file as the rest of the page, not a separate widget that could be rebuilt at any time.

Where does PieLine itself sit in the broader restaurant technology stack?

It sits on the phone layer. The carrier and the phone number stay the same; PieLine answers the inbound call, takes the order, and posts it directly to the existing point-of-sale through one of 50+ integrations (Toast, Square, Clover, NCR Aloha, Revel are the five live integrations called out on the homepage). The math model on the homepage projects savings only against the missed-call slice of phone revenue, not against staff cost, not against POS spend, not against marketing spend. It is intentionally narrow so the formula stays auditable.

How do PieLine's three constants compare to the live customer numbers on the homepage?

Mylapore, an 11-location South Indian chain in the Bay Area, projects roughly $500 in additional revenue per location per day from eliminating the phone bottleneck. Run that through the calculator backwards and it implies recovering missed revenue on the order of $1,400 daily per location ($500 net at a $350 monthly cost is consistent with a calls-per-day count in the high-double-digits and a ticket of $35 to $50). Idly Express in Almaden runs 90%+ of its calls end-to-end through PieLine, which puts it well above the calculator's implicit miss-rate baseline. The customer numbers and the calculator's constants line up; one is the steady-state outcome, the other is the up-front projection.

What is the lower bound and upper bound on the calculator's slider inputs?

Calls per day ranges 10 to 400 in steps of 5, defaulting to 80. Ticket size ranges $10 to $120 in steps of $1, defaulting to $35. Below 10 calls per day the math is uninteresting because total daily call volume is too low to matter. Above 400 calls per day the operator is firmly in multi-location territory and pricing is set together on a 15-minute demo call, not by the per-call defaults. The sliders are coarse enough that an operator can sweep the full range in 5 seconds; the formula recomputes synchronously on every change.

What signal does it send when a vendor will publish its ROI formula in source?

It signals that the vendor is willing to be wrong on paper. A formula is checkable. A constant is auditable. The sentence "PieLine pays for itself in 1.4 days at 80 calls per day and a $35 ticket" can be reproduced in a calculator app in fifteen seconds. A vendor who keeps the formula opaque never has that conversation, because the result is always whatever the marketing team set it to. The concrete bet PieLine is making by shipping the math is that the vast majority of small-to-mid-sized restaurants get a positive answer when they plug their own numbers in, and that operators who do the math themselves convert at a higher rate than operators who are told the math.

📞PieLineAI Phone Ordering for Restaurants
© 2026 PieLine. All rights reserved.

How did this page land for you?

React to reveal totals

Comments ()

Leave a comment to see what others are saying.

Public and anonymous. No signup.