EIGENN.
docsguidesapichangelogpricingsign in
EIGENN.

Common formulas: headcount and payroll

Formulas that roll headcount forward and turn people into payroll cost, by department or by employee.

Payroll is usually the largest cost in a plan. A headcount formula counts the people in each period. A payroll formula turns that count into a monthly cost.

The formulas on this page come from the Headcount plan, Headcount by Department, and Advanced Headcount templates. To start from a template, go to Scenario planning → New model, type the template name, and press Enter.

Roll headcount forward

Headcount plan adds the hires of each month to the headcount of the month before.

VariableFormula
Headcountif Headcount[previous] = blank then Starting headcount + Monthly hires else Headcount[previous] + Monthly hires
Monthly payroll costHeadcount * Average annual salary / 12

With 10 starting people, 2 hires each month, and a salary of 120,000, month 1 has 12 people and costs 120,000.

The blank test works when Blanks in data is Treat as blank. That is the setting in the templates.

Payroll by department

Headcount by Department breaks Headcount, Average annual salary, Base payroll, and Fully-loaded payroll down by the Department dimension.

VariableFormula
Base payrollHeadcount * Average annual salary / 12
Fully-loaded payrollBase payroll * (1 + Taxes and overheads)
Cost per headFully-loaded payroll / Headcount

Each department uses its own headcount and salary. Taxes and overheads has no dimension, so every department uses the same rate. Cost per head has no dimension either. It divides the total payroll by the total headcount.

Raises and bonuses for each employee

Advanced Headcount has one item for each employee in the Employee dimension.

VariableFormula
Monthly salaryAnnual salary * (1 + Annual raise * timestep / 12) / 12
Fully-loaded cost(Monthly salary + Annual bonus / 12) * (1 + Taxes and overheads)
Annual run rateFully-loaded cost * 12

timestep counts the periods from 0. The salary goes up a small amount each month. For an annual salary of 150,000 and a 4% raise, the monthly salary is 12,500 in period 0 and 12,958.33 in period 11.

Pay a bonus in one month

The template spreads the bonus over 12 months. To pay it in December, add a Bonus paid variable with the Employee dimension:

if month = 12 then Annual bonus else 0

Then use (Monthly salary + Bonus paid) * (1 + Taxes and overheads) for Fully-loaded cost. month gives the calendar month, from 1 to 12.

Without the dimension, Bonus paid reads the total bonus of all employees, and each employee gets that total.

Patterns in Formula templates

In the formula bar, select Formula templates and search for these names:

TemplateExample after you fill it
Payroll from headcountHeadcount * Average salary / 12
Hiring rampramp(timestep, 6, 24, 0, Target headcount)

Hiring ramp gives 0 until period 6. From period 6 to period 24, the value grows in a straight line to Target headcount. After period 24, it stays at the target.

Related

  • Headcount planning
  • Blanks and helpers
  • Conditionals
  • Functions
  • Apply a dimension
  • Dimension totals

Common formulas: currency and multiple entities

Formulas that consolidate entities, remove inter-company amounts, and convert local currency to a base currency.

Common formulas: SaaS metrics

Formulas for MRR movement, ARR, net revenue retention, gross churn, and CAC.

On this page

Roll headcount forwardPayroll by departmentRaises and bonuses for each employeePay a bonus in one monthPatterns in Formula templatesRelated

Eigenn docs

current product

Overview
Overview
OverviewAccount PreferencesApproval PoliciesAssistant AutomationAssistant Command CenterAssistant Workspace and Saved WorkBank ConnectionsBilling and UsageBudgets and ForecastCommand CenterCustomer FieldsCustomer LifecycleCustomer RecordsCustomersDeveloper PlatformDocument Processing and ExtractionFiles and Document VaultFinancial Analytics and ReportsFinancial OverviewInbox and ApprovalsInvoice InsightsInvoice ProductsInvoicesMarketplace IntegrationsNotifications and BrandingOnboarding and SupportOverviewPlanning Data and DimensionsPlanning Models and FormulasPlanning Time and ActualsPlanning UncertaintyPlanning Versions and CollaborationPlanning Views and ExportsPlans and AdjustmentsReceivablesReceivables AnalyticsReceivables ControlsRolling Budget CloseScenario PlanningSecurity and AccessSettings OverviewStress TestsTeams and OrganizationsTone Profiles and ExperimentsTransaction Categories and RulesTransaction CodingTransactionsWeekly Finance RitualWorkflow ExecutionsWorkflow OutcomesWorkflow PausesWorkflows
OverviewBudget vs. ActualsBuild a Driver-Based Planning ModelBuild and Review a ForecastBuild Your First WorkflowCollaborate on a Planning ModelCompare and Share Planning ScenariosConfigure Approval PoliciesConfigure Assistant OperationsConfigure Customer FieldsConfigure Notifications and BrandingConfigure Planning Time and ActualsConfigure Receivables ControlsConnect Planning Data and ActualsConnect Transaction RecordsConsolidationCreate and Manage CustomersCreate and Send InvoicesCreate Your First Planning ModelDeveloper API SetupFirst Cash ReviewHeadcount PlanningInvoice Collection WorkflowMaintain Transaction RulesManage Security and BillingManage Team AccessManage the Invoice LifecycleMCP WorkflowsMonitor and Recover WorkflowsOrganize and Share DocumentsProcess Inbox ItemsReconcile and Categorize TransactionsRevenue ForecastingReview a Customer Finance RecordReview, Restore, and Export a Planning ModelRun a Finance Operating ReviewRun a Receivables Tone ExperimentRun a Runway Stress TestRun Planning Uncertainty AnalysisRun Your First Command Center ReviewSave and Share Assistant WorkSet Up a WorkspaceTroubleshoot Account AccessWebhook DeliveryWeekly CFO Review
Overview

Concepts

DataDimensionsFormulasScenarios

Variables

VariablesChange an input over timeCreate a variableFormat a variableOrganize variablesTime totalsUse a variable from another modelVariable types

Time

TimeLast actual dateRoll the model forwardTime granularityTime settings

Formulas

FormulasBlanks and helpersCommon formulas: cash and balance sheetCommon formulas: cohortsCommon formulas: currency and multiple entitiesCommon formulas: headcount and payrollCommon formulas: SaaS metricsCommon formulas: seasonalityConditionalsDimension referencesFormula syntaxFunctionsTime referencesTroubleshoot formulasValues with uncertaintyWrite a formula

Charts and Dashboards

Charts and dashboardsCompare scenarios and versionsCreate a chartExport and shareTablesTime aggregation in charts

Dimensions

DimensionsApply a dimensionCreate a dimensionDimension examplesDimension totalsThe Dimensions page

Data

DataChoose cash or accrual for XeroConnect a data sourceLink a variable to dataRefresh and check actualsUse transaction categories as actuals

Data Integrations

Data integrationsBank transactionsCSV importFortnoxQuickBooksStripeXero

Views

ViewsCreate and edit a viewFilter a viewShare a view

Versions

VersionsCompare versionsRestore a versionSave a version

Scenarios

ScenariosCompare scenariosCreate a scenarioPlans and adjustmentsStress tests and shocks

Collaboration

CollaborationComment on a modelShare a model and set accessTeam roles and planning access

Managing Models

Managing modelsDuplicate a modelExport a modelModel limits and performanceStart from a templateThe models home and foldersTrash, restore, and delete a model
OverviewIntegrationsMCPSDKsWebhooks
OverviewAuthenticationBank Accounts APICustomers APIErrorsForecasts and Stress Tests APIInvoice Payments APIInvoices APIPaginationRate LimitsRemote Tracker API StatusTracker Categories APITracker Entries and Timers APITracker Projects APITransactions APIWebhooks API StatusWorkflows API
Overview
Overview