What the Plan Engine does
Quick Reference
Inputs
Planned units and marketing spend per product family (or product) and channel, for a month or a quarter. Revenue and profit targets need recent sales of that product on that channel; campaign mapping needs Google Ads or Meta Ads connected.
Outputs
Revenue and gross profit targets for every row, cost per unit, plan totals, a side panel with new-customer share, new-customer CAC, 90-day LTGP and modeled payback, historical actuals, and plan vs actual for the current month.
Outcomes
Set targets grounded in your real margins, see what a spend plan should cost per new customer and how fast it should pay back before you commit the budget, and catch a channel falling behind plan while the month is still open.
The Plan Engine is where you set sales targets for each product family on each channel, and see straight away what those targets mean in profit. You type two numbers per row — units and marketing spend — and MarginOS fills in the revenue and gross profit those units should bring, based on what the same products have actually earned recently. Once you save, MarginOS tracks the plan against real results, and the Command Center paces the current month against it.
What the Plan Engine does
A plan is a grid of targets for one month or one quarter. Each row is one product family — or one product inside a family — on one channel, such as a skincare family on Paid Social. For every row you decide how many units you want to sell and how much you will spend on marketing to get there. MarginOS then does the money math:
- Revenue and gross profit targets come from what that product or family has recently earned per unit on that channel, so the plan is grounded in your real margins rather than a hopeful guess.
- Cost per unit shows how much marketing you are spending for every unit you plan to sell.
- The side panel turns a row into acquisition economics: how many of those units should come from new customers, what each new customer will cost you, what a new customer is worth over 90 days, and how long it should take to earn that cost back.
MarginOS never invents a target. If it has no recent per-unit results for a product on a channel, Net Revenue shows a dash and Gross Profit reads Needs cost data instead of a made-up $0, so a plan never looks more certain than the data behind it.
Before you start
- Connect your store. The product families and products you can plan come from your catalog, and the per-unit revenue and profit come from your orders. See Connect your Shopify store.
- Expect gaps for new products. A product or family with no recent sales on a channel has nothing to base its targets on yet, so those rows show Needs cost data until it sells.
- Connect your ad accounts if you run paid ads. Rows on Paid Search and Paid Social let you link Google Ads and Meta Ads campaigns to a product family. See Connect Google Ads and Connect Meta Ads.
- Pick monthly or quarterly before you build. Each period holds one plan scale at a time. Switching scale later deletes that period’s plan at the old scale.
How to set a plan
- Open Plan Engine from the sidebar. You can also click Set Plan Goals or Open Plan details on the Command Center’s This Month vs Plan card, which opens the current month.
- Choose Monthly or Quarterly, then use the arrows beside the period name to move to the month or quarter you want to plan.
- Click Add Product Family / Product, search, and pick a product family, or a single product listed under it. Adding a product adds its family row too.
- In the Channel column, choose the channel for that row. Every row needs a channel before the plan can be saved. To plan the same family on a second channel, add the family again and choose the other channel.
- Type Planned Units and Marketing Spend ($). Cost / Unit, Net Revenue and Gross Profit fill in as you type.
- Click any row to open its side panel and check the economics under Economics for this plan.
- Click Save Plan. Grid edits are not saved until you do, and moving to another period discards unsaved edits. If the period already has a plan at the other scale, MarginOS asks you to confirm before replacing it.
To remove a row, click the bin icon at the end of it, then save. Removing a family row that has products under it on the same channel removes those products too, after you confirm.
Load a whole plan from a spreadsheet
Under Bulk Template Upload, click Download CSV Template, fill in one line per product family (or product), channel and period, then choose the file. An upload takes effect immediately and replaces the existing plan and all data for the other plan type, and it cannot be undone. Lines with a missing or unrecognised channel, an unrecognised period type, or no start date or product are skipped without a warning, so check the grid after an upload. Unlike typing in the grid, revenue and gross profit in a spreadsheet are taken exactly as you enter them rather than calculated for you.
Inputs & settings reference
| On screen | What it is | Who fills it in |
|---|---|---|
| Monthly / Quarterly | The plan’s time scale. A quarterly target is spread evenly across the quarter’s three months, so monthly tracking sees a fair share of it. | You |
| Product Family | The family or product the row plans. Products sit indented under their family. | You, through Add Product Family / Product |
| Channel | The sales channel the row plans for. Required before saving. | You |
| Planned Units | How many units you aim to sell in the period. Whole numbers. | You |
| Marketing Spend ($) | What you plan to spend on marketing for this row. Whole dollars. | You |
| Cost / Unit ($) | Marketing spend divided by planned units. Shows a dash when no spend is planned. | MarginOS |
| Net Revenue ($) | Planned units multiplied by recent net revenue per unit. | MarginOS |
| Gross Profit ($) | Planned units multiplied by recent gross profit per unit. Reads Needs cost data when there is nothing to base it on. | MarginOS |
| Plan vs Actual (Last 30 Days) | On family rows, how the last 30 days of real sales compare with this month’s target. | MarginOS |
| Plan Totals | The sum of your targets, with an overall cost per unit. | MarginOS |
How MarginOS calculates your plan
Targets in the grid
Revenue and gross profit targets are your planned units multiplied by what each unit has recently earned. For a single product, MarginOS uses that product’s own recent results where it has them, and otherwise its family’s results on the chosen channel. Because the per-unit figures already reflect discounts, refunds and product costs, the gross profit target is a real profit number rather than a sales number with a margin guessed on top. See how MarginOS calculates gross profit.
The side panel
- New-customer % of units — the share of planned units MarginOS expects to come from first-time buyers, based on this channel’s first-time customers in the last 30 days. If the channel has no recent new-customer data, it assumes 0% and says so.
- New-customer CAC — your planned spend divided by the new customers the row is expected to bring. This is usually higher than Cost / Unit, because only some units come from new customers.
- 90-day LTGP — the gross profit an average new customer on this channel brings in over their first 90 days. See how MarginOS calculates LTGP.
- Modeled payback — how many days it should take for a new customer’s gross profit to cover what you paid to acquire them. It is a projection from your plan, not the measured CAC Payback on the Command Center, which tracks when real customers actually paid back.
When a figure cannot be worked out honestly — no new customers expected, or no 90-day profit history — it shows N/A rather than a number.
Below the economics, Historical Actuals shows an estimate of what the family has done on that channel over the last 30, 60 or 90 days — orders, units, revenue, gross profit, spend and channel CAC — so you can check a target against recent history. On Paid Search and Paid Social rows, Campaign Mapping lists your Google Ads or Meta Ads campaigns so you can link them to the family.
Plan vs actual
After you save, each family row in the grid compares the last 30 days of real sales on that channel with the current month’s target. It shows the share of the gross profit target reached, how far units are ahead or behind, and units sold against units planned. The column only fills in while the period on screen includes the current month; other periods show Current month only. A row that has not been saved yet shows Save to compare, and a family with no recent sales on that channel shows No actuals yet.
Example
Illustrative numbers. You plan a serum family on Paid Social for next month: 400 units with $6,000 of marketing spend. Cost / Unit is $15.00. Recently the family has earned $40 of net revenue and $22 of gross profit per unit on that channel, so the grid fills in Net Revenue of $16,000 and Gross Profit of $8,800.
In the side panel, New-customer % of units is 25%, so 100 of those units should come from new customers. New-customer CAC is $6,000 ÷ 100 = $60. If the 90-day LTGP is $90, a new customer brings in about $1 of gross profit a day, so Modeled payback is 60 days to cover the $60 it cost to win them.
Once the month starts, the row in the grid reads 70% of GP plan, -20% Units and 320 / 400 units: over the last 30 days the family sold 320 units against the 400 planned and made $6,160 of its $8,800 gross profit target. Volume is behind and profit is behind with it, which is the cue to look at the channel before the month closes rather than after.
Common questions
Why does Gross Profit say Needs cost data?
MarginOS has no recent per-unit results for that product or family on that channel, so it has nothing honest to multiply your units by. It shows this instead of $0 so you never plan against a number that was invented. The row fills in once the product has recent sales on that channel.
Can I type my own revenue or gross profit targets?
Not in the grid. You set units and spend, and MarginOS works out revenue and gross profit from real per-unit results, so the targets stay consistent with your actual margins. A spreadsheet upload is the exception: it uses the revenue and gross profit values in the file as given.
What happens if I switch between Monthly and Quarterly?
If the period already has rows, MarginOS asks you to confirm, then deletes the existing plan at the old scale for that period so you can start fresh. This cannot be undone, so pick a scale before you build.
How is a quarterly plan tracked month by month?
A quarterly target entered on screen is spread evenly across the quarter’s three months when you save. Monthly tracking, including the Command Center’s pacing, compares each month with its share.
Is Modeled payback the same as CAC Payback on the Command Center?
No. Modeled payback is a forecast built from the plan you typed. CAC Payback on the Command Center is measured from real customers. Use the first to judge a plan before you commit spend, and the second to check what actually happened.
Does mapping a campaign change anything in Google Ads or Meta?
No. MarginOS only reads campaign metrics. Mapping a campaign to a product family tells MarginOS which family its spend belongs to; any change to the campaign itself has to be made in Google Ads or Meta Ads.
Related
- Read the Command Center — where this month’s progress against your plan shows up.
- How MarginOS calculates Gross Profit (CM1) — the profit figure behind every target.
- How MarginOS calculates LTGP — the customer value in the side panel.
- How MarginOS calculates CAC Payback — the measured counterpart to Modeled payback.
About the author
Founder of MarginOS, a Profit & Inventory OS for Shopify DTC brands who live and die by margin. Previously 11 years at Google across Ads and Global Business Operations, building large-scale systems. Now focused on giving DTC operators true profit by product, channel, and customer after COGS, 3PL, shipping, returns, and fees, and on showing exactly how much to trust every number behind those decisions.
Read Aron's story