Pet store owner-operator - business-line money-and-hours monthly calculator - retail, grooming, boarding, live-animal, and vet-partnership lines each tracked for revenue, direct cost, and labor hours consumed; the main table sorts by contribution per labor-hour, not by revenue, so the line earning the thinnest money on the most expensive hands surfaces on its own; rent and utilities are never auto-allocated
Build a single-file HTML tool for a pet store owner (no dependencies, works
offline, data in localStorage): enter each business line's monthly figures
and see money and labor hours together, answering "which line earns the
thinnest money on the most expensive hands."
Business lines (add / rename / delete allowed; defaults): retail / grooming
& bathing / boarding / live-animal sales / vet partnership (if a
veterinarian works in-store; delete otherwise)
Monthly entry (one row per line):
- Revenue: what the line actually collected that month
- Direct costs: only costs that move with the line - inventory purchases,
grooming consumables, animal purchase cost, vet revenue share. Rent and
utilities do NOT go here
- Labor hours: two columns - groomer hours / general-staff hours consumed
by the line (including service time plus related restocking, cleaning,
and reception)
- Role hourly cost (maintained once on a settings page: total monthly
payroll divided by total monthly hours, computed separately for groomers
and general staff)
Calculations and output:
1. Five numbers per line: revenue / direct cost / gross margin (revenue
minus direct cost) / total labor hours / line contribution (gross
margin minus each role's hours times its hourly cost)
2. The main table sorts by contribution per labor-hour, high to low - this
sort IS the purpose of the tool; do not sort by revenue or by absolute
profit
3. Flagging rules: any line whose contribution per hour is below half the
store-wide median gets the whole row flagged red; any line whose
labor-hour share exceeds its revenue share by more than 1.5x gets a
"labor mismatch" badge
4. Month-over-month trend: keep the same table for the last 12 months; a
line whose contribution per hour declines three months in a row gets
flagged yellow
5. Rent, utilities, and other shared costs never enter a line - they sit
in one separate row, "unallocated shared costs." The tool must not
choose an allocation method for the owner; by floor area or by revenue
is the owner's own decision
Explicitly out of scope:
- No industry default ratios for revenue or cost - the tool starts empty
and computes what is entered; every page is blank until first entry
- No advice text like "consider cutting this line" - the tool calculates,
the owner judges
- No network, no uploads, no external services; data stays in the local
browser
Why it is written this way
A pet store is one of the few retail formats that is naturally multi-line: one storefront simultaneously runs retail (selling goods), services (grooming, boarding), and live animals (a futures-like business). Merge the books and the pathologies hide each other - service cash flow looks healthy and hides retail inventory bloat; retail revenue runs high and hides grooming paying skilled hands at a loss. The tool's core sort key is contribution per labor-hour rather than profit, because the scarcest resource in a single store is not money but labor: a groomer's hour, once sold, is gone, and which line it gets allocated to is the resource decision the owner is actually making every month.
Labor hours split by role (groomer / general staff) because the two kinds of time are not interchangeable: general-staff hours are cheap and always hireable; groomer hours are expensive and hard to replace. A line that mainly consumes groomer hours while its contribution per hour sits at the bottom is a different species of problem from one consuming general-staff hours - the former is paving a road with crown jewels. The mismatch badge uses the ratio of labor-hour share to revenue share rather than absolute values so the number stays comparable across seasons, when everything absolute is moving.
Shared costs (rent, utilities) deliberately never enter a line and are never auto-allocated. That is engineered honesty: every allocation key - floor area, revenue, headcount - is an arbitrary choice, and whichever you pick changes the conclusion; a tool that picks for the owner has made the owner's decision for them. Showing the pre-allocation truth next to one "unallocated shared costs" row lets the owner see each line's marginal contribution and the full block of costs nobody has claimed - more honest than a net profit that looks precise and rests on an arbitrary key.
Variables
| Variable | Description |
|---|---|
| Hourly cost basis | Total monthly payroll (benefits included or not, your call) divided by total monthly hours, computed separately for groomers and general staff - recheck both numbers every six months; the staff mix changes and old rates go stale |
| Labor-hour entry | Hours per line are estimates. Seed them from the schedule and service-time standards, then after three consecutive months of entry, review which line's number looks clearly wrong and fix the basis - do not chase precision in week one |