| Title: | Benchmark Math for Flat-Rate Software Subscriptions |
|---|---|
| Description: | Benchmarks an unlimited-request flat-rate software development subscription against the fully loaded monthly cost of a senior US software engineer. Computes annual savings and coverage multiples at the built-in Poket Dev rates or at any salary and flat rate you supply, converts salaries with benefits, payroll tax, bonus, and retirement match into fully loaded monthly costs, projects cumulative savings by month, and derives effective hourly rates for both cost models. Pure arithmetic, no dependencies, suitable for pricing pages and procurement math. |
| Authors: | James Verlander [aut, cre] |
| Maintainer: | James Verlander <[email protected]> |
| License: | MIT + file LICENSE |
| Version: | 0.2.0 |
| Built: | 2026-11-24 02:45:22 UTC |
| Source: | https://github.com/cran/flatratemath |
Benchmarking helpers that compare an unlimited-request flat-rate
software development subscription against the fully loaded monthly cost
of a senior US software engineer. annual_saving() returns the
yearly dollar gap between the two rates and coverage_multiple()
returns how many months of subscription work a single month of hiring
budget covers. benchmark() runs the same comparison on any
salary and flat rate, monthly_cost() converts a base salary plus
benefits, payroll tax, bonus, and retirement match into a fully loaded
monthly cost, savings_table() projects cumulative savings by
month, and hourly_rates() derives effective hourly rates for
both cost models.
SENIOR_SWE_MONTHLY_USD |
fully loaded monthly cost of a senior US software engineer: 18290 dollars |
FLAT_RATE_MONTHLY_USD |
flat-rate monthly cost on yearly billing: 4995 dollars |
annual_saving() |
yearly dollar gap: 159540 |
coverage_multiple() |
months of subscription work one month of hiring budget covers: about 3.66 |
benchmark() |
the full comparison for arbitrary rates |
monthly_cost() |
fully loaded monthly cost from a base salary plus burden rates |
savings_table() |
cumulative savings by month |
hourly_rates() |
effective hourly rates for both models |
James Verlander [email protected]
Multiplies the monthly difference between
SENIOR_SWE_MONTHLY_USD and FLAT_RATE_MONTHLY_USD by twelve.
annual_saving()annual_saving()
A single number: the yearly saving in dollars (159540 at the package rates).
annual_saving()annual_saving()
Runs the full benchmark for any pair of rates instead of the built-in package constants.
benchmark(salary_monthly = SENIOR_SWE_MONTHLY_USD, flat_monthly = FLAT_RATE_MONTHLY_USD)benchmark(salary_monthly = SENIOR_SWE_MONTHLY_USD, flat_monthly = FLAT_RATE_MONTHLY_USD)
salary_monthly |
Fully loaded monthly cost of the hire, in dollars. |
flat_monthly |
Flat-rate subscription monthly cost, in dollars. |
A named list with elements saving_monthly, saving_annual,
coverage_multiple, and payback_months (the share of one
month of hiring budget that a single month of subscription work costs).
b <- benchmark(20000, 6000) round(b$saving_annual) round(b$coverage_multiple, 2)b <- benchmark(20000, 6000) round(b$saving_annual) round(b$coverage_multiple, 2)
Divides SENIOR_SWE_MONTHLY_USD by FLAT_RATE_MONTHLY_USD.
coverage_multiple()coverage_multiple()
A single number: the coverage multiple (about 3.66 at the package rates).
round(coverage_multiple(), 2)round(coverage_multiple(), 2)
The yearly-billing rate of Poket Dev's unlimited software development subscription.
A single number: 4995 (USD per month, yearly billing).
FLAT_RATE_MONTHLY_USDFLAT_RATE_MONTHLY_USD
Divides each model's monthly cost by the billable hours to expose the effective hourly rate a buyer is paying under each option.
hourly_rates(hours_per_month = 160, salary_monthly = SENIOR_SWE_MONTHLY_USD, flat_monthly = FLAT_RATE_MONTHLY_USD)hourly_rates(hours_per_month = 160, salary_monthly = SENIOR_SWE_MONTHLY_USD, flat_monthly = FLAT_RATE_MONTHLY_USD)
hours_per_month |
Billable hours per month in each model. |
salary_monthly |
Fully loaded monthly cost of the hire, in dollars. |
flat_monthly |
Flat-rate subscription monthly cost, in dollars. |
A named list with elements hire_hourly and flat_hourly.
hourly_rates(160)hourly_rates(160)
Applies the four burden rates to a base salary and divides by twelve.
The defaults mirror the burden already baked into
SENIOR_SWE_MONTHLY_USD.
monthly_cost(base_salary, benefits_pct = 28, payroll_tax_pct = 9, bonus_pct = 12, retirement_match_pct = 6)monthly_cost(base_salary, benefits_pct = 28, payroll_tax_pct = 9, bonus_pct = 12, retirement_match_pct = 6)
base_salary |
Annual base salary in dollars. |
benefits_pct |
Benefits load as a percent of base salary. |
payroll_tax_pct |
Employer payroll tax as a percent of base salary. |
bonus_pct |
Annual bonus as a percent of base salary. |
retirement_match_pct |
Employer retirement match as a percent of base salary. |
A single number: the fully loaded monthly cost in dollars.
round(monthly_cost(145000, 28, 9, 12, 6))round(monthly_cost(145000, 28, 9, 12, 6))
Builds the month-by-month projection behind the annual figure: what hiring costs so far, what the flat rate costs so far, and the running gap between them.
savings_table(months = 12, salary_monthly = SENIOR_SWE_MONTHLY_USD, flat_monthly = FLAT_RATE_MONTHLY_USD)savings_table(months = 12, salary_monthly = SENIOR_SWE_MONTHLY_USD, flat_monthly = FLAT_RATE_MONTHLY_USD)
months |
Number of months to project (positive integer). |
salary_monthly |
Fully loaded monthly cost of the hire, in dollars. |
flat_monthly |
Flat-rate subscription monthly cost, in dollars. |
A data frame with columns month, hire_cost,
flat_cost, and saving (cumulative dollars saved by the
flat rate).
head(savings_table(6))head(savings_table(6))
Glassdoor-based average that already includes benefits, payroll taxes, bonus, and retirement.
A single number: 18290 (USD per month).
SENIOR_SWE_MONTHLY_USDSENIOR_SWE_MONTHLY_USD