How HospiEdge Build Costs Are Calculated
This page shows the exact math used to produce current rebuild values for each app. Inputs come from PHP inventory snapshots generated on March 5, 2026.
Published Rebuild Values (Current)
These are the values shown across product and engineering pages and are recalculated from the formula below.
Formula Used For Every App
Same equation across all products. The only app-specific variable is complexity multiplier.
1) Engineering Points
Points = files x 1 + functions x 0.5 + PHP lines / 100
2) Base Hours
Base hours = points x 5.0
3) Complexity Hours
Complexity hours = base hours x app multiplier
4) Midpoint Cost
Cost = complexity hours x $160/hour, then rounded to nearest $10k
| Input | Value | Why it is in the model |
|---|---|---|
| PHP file count | Direct from inventory snapshot | Represents route and module surface area that must be rebuilt and tested. |
| Named function count | Direct from inventory snapshot | Represents business logic units that carry behavior and branching complexity. |
| PHP line count | Direct from inventory snapshot | Captures implementation depth and integration glue that files/functions alone miss. |
| Complexity multiplier | App-specific coefficient | Adjusts for real-world difficulty: workflow coupling, integrations, compliance, and rollout risk. |
| Blended hourly rate | $160/hr | Weighted average of product engineering, QA, and release management effort. |
Per-App Worksheet (Exact Math)
Every row below is computed from inventory numbers plus published scenario adjustments.
HospiEdge Scheduling
Snapshot source: 93 files,
243 functions,
21,784 lines.
| Step | Formula | Result |
|---|---|---|
| Engineering points | 93 + (243 x 0.5) + (21784 / 100) | 432.34 points |
| Base rebuild hours | 432.34 x 5.0 | 2,161.7 hours |
| Complexity-adjusted hours | 2,161.7 x 1.21 | 2,615.7 hours |
| Raw midpoint cost | 2,615.7 x $160 | $418,505 |
| Rounded midpoint from formula | round(raw midpoint / 10,000) x 10,000 | $420,000 |
| Published midpoint | Matches current product and engineering pages | $420,000 |
Low-case scope path
- Single-location rollout using existing templates -$35,000
- Minimal integration profile (light POS/payroll touchpoints) -$20,000
- Reduced policy matrix and lower QA depth -$15,000
$420,000 + -$70,000 = $350,000
High-case scope path
- Enterprise labor forecast automation and scenario planning +$130,000
- Multi-brand rule matrix with location-specific policy packs +$120,000
- Deep payroll and POS connector hardening +$90,000
- Advanced notification and workflow automation +$70,000
- Data migration, parallel run, and rollout support +$70,000
$420,000 + +$480,000 = $900,000
HospiEdge Operations
Snapshot source: 187 files,
321 functions,
26,190 lines.
| Step | Formula | Result |
|---|---|---|
| Engineering points | 187 + (321 x 0.5) + (26190 / 100) | 609.40 points |
| Base rebuild hours | 609.40 x 5.0 | 3,047.0 hours |
| Complexity-adjusted hours | 3,047.0 x 1.81 | 5,515.1 hours |
| Raw midpoint cost | 5,515.1 x $160 | $882,411 |
| Rounded midpoint from formula | round(raw midpoint / 10,000) x 10,000 | $880,000 |
| Published midpoint | Matches current product and engineering pages | $880,000 |
Low-case scope path
- No advanced AI coaching or incident enrichment -$95,000
- Single-brand deployment with simplified multi-location controls -$80,000
- Standard integration profile without custom POS adapters -$55,000
- Lean reporting and reduced compliance hardening -$50,000
$880,000 + -$280,000 = $600,000
High-case scope path
- Multi-brand architecture with strict tenant separation controls +$280,000
- Compliance hardening and enterprise-grade audit governance +$220,000
- Deeper POS and financial system integration program +$180,000
- AI image and advisor expansion with review loops +$140,000
- Security, release, and reliability controls for enterprise operations +$100,000
$880,000 + +$920,000 = $1,800,000
Hospi Edge Table
Snapshot source: 136 files,
597 functions,
36,732 lines.
| Step | Formula | Result |
|---|---|---|
| Engineering points | 136 + (597 x 0.5) + (36732 / 100) | 801.82 points |
| Base rebuild hours | 801.82 x 5.0 | 4,009.1 hours |
| Complexity-adjusted hours | 4,009.1 x 1.18 | 4,730.7 hours |
| Raw midpoint cost | 4,730.7 x $160 | $756,918 |
| Rounded midpoint from formula | round(raw midpoint / 10,000) x 10,000 | $760,000 |
| Published midpoint | Matches current product and engineering pages | $760,000 |
Low-case scope path
- Single-floor host board with no kiosk channel rollout -$130,000
- Manual section balancing instead of full smart assignment tuning -$70,000
- Basic API and webhook footprint -$50,000
- Light analytics and reporting scope -$60,000
$760,000 + -$310,000 = $450,000
High-case scope path
- Multi-floor and multi-location orchestration +$120,000
- High-volume reservation and waitlist scaling controls +$90,000
- Full kiosk self-seat rollout plus assignment explainability +$70,000
- Advanced API security, webhooks, and partner integration support +$60,000
$760,000 + +$340,000 = $1,100,000
How this connects to licensing
Licensing prices on the engineering page are derived from rebuild midpoints using the published multipliers already shown there (perpetual, maintenance, and term logic).