Set it up in one sitting
About 30 minutes, start to finish.
Brand it (5 minutes)
- Open calculator.html in any text editor, or paste it into ChatGPT, Claude or Grok and say "change the BRAND block to these values."
- Edit only the BRAND block at the top: agency name, logo URL, colors, fonts, booking link, and your industry words (jobs, patients, cases).
- Save it, then double click the file to open it in your browser and check the look.
Check the numbers (2 minutes)
- Leave the defaults in place and compare to the check table below.
- Leads per month should read 427 and the annual budget $120,000. If they match, you're good.
Put it live (pick one, 10 to 20 minutes)
- HighLevel: Sites, Funnels, new funnel step. Add a Custom JS/HTML (Code) element, full width, and paste the whole file. Save, preview, and point a subdomain like plan.youragency.com at the funnel.
- WordPress: New page, add a Custom HTML block, paste the whole file, publish. Use a full-width template.
- Claude: Paste the file and say "make this an artifact." Publish it and share the link.
- ChatGPT: Paste the file into Canvas and use Preview to tweak it with AI. Then copy the final code into HighLevel or WordPress so prospects don't need a ChatGPT login.
- Base44 or Lovable: New app, paste the prompt below (or upload calculator.html) and say "rebuild this exactly." Set it to Public, turn off Require Login, and publish to your domain.
- No site: Drag calculator.html onto Netlify Drop (app.netlify.com/drop) for a free live link.
Wire it into your workshop (5 minutes)
- Make a short redirect link (like youragency.com/plan) that's easy to say live.
- Set the booking link in the BRAND block to your strategy session calendar. With ctaAppendResults on, the visitor's revenue goal, leads per month and budget ride along on that link.
- On the workshop, screen share the app and fill it in with one attendee's real numbers. Then drop the link in chat and have everyone run their own.
Test before you go live
- Open it on your phone, click the booking link, and try "Save my plan as PDF" once.
The rebuild prompt
Paste this into ChatGPT, Claude, Grok, Base44 or Lovable. Fill in the BRANDING section first. Fastest path: upload calculator.html with it and say "rebuild this exactly, with my branding."
Build me a single-page web app called "Marketing Plan Calculator".
Output ONE self-contained HTML file (HTML + CSS + plain JavaScript, no frameworks, no build step,
no external libraries except an optional Google Fonts link). It must work when pasted into a
HighLevel custom code block, a WordPress Custom HTML block, or opened directly in a browser.
=== BRANDING (fill these in) ===
Agency name: [YOUR AGENCY NAME]
Logo URL: [https://... or leave blank to show the name as text]
Main dark color: [#111827]
Second dark color (gradient end): [#000000]
Accent / highlight color: [#b4d66f]
Heading font: [Montserrat]
Body font: [Montserrat]
Booking link for the call to action: [https://youragency.com/schedule]
Call to action text: [click here to schedule a gameplan session]
Footer link: [https://youragency.com]
My industry calls a sale a: [job / patient / case / project] (plural: [jobs / patients / cases / projects])
My industry calls a lead a: [lead / call / inquiry]
Put all branding values in ONE clearly labeled BRAND object at the very top of the file so I can
change them later without touching anything else.
=== LAYOUT ===
- Dark gradient page background (main dark -> second dark). White rounded cards with soft shadow.
- Card headers are dark bars with white bold text. Numbered steps use a small accent-colored square.
- Inputs are large (about 56px tall), bold text, with "$" prefix or "%" suffix inside the box.
- Result tiles are white boxes with a small gray label and a big bold number.
The single most important result on each tab gets an accent-colored border.
- Top navigation with 4 tabs (buttons). Active tab is accent colored. Under the nav: logo (or agency name),
then the tab's big page title.
- Bottom of every tab: a row of 3 summary tiles, then footer text:
"Adjust the values above to see real-time calculations for your business goals"
"If you'd like help building your online marketing plan to CRUSH it in the year ahead [CTA link]."
"© [Footer link]"
- Mobile friendly: grids collapse to one column under 760px wide.
- Every number recalculates instantly as the user types. Inputs accept digits and a decimal point only;
blank counts as 0. Never divide by zero: if a divisor is 0 or blank, show 0.
- Money shows as $ with thousands commas and no cents (rounded). Counts are rounded whole numbers.
=== TAB 1: "Lead Target Planner" (page title "Lead Generation Target Planner") ===
Card 1 "Revenue & Sold [Jobs] Target"
Inputs:
A. Annual Revenue Goal / Target ($), default 1,500,000
B. What is your average ticket value? ($), default 650
Results:
Monthly Revenue Target = A / 12
Monthly [Jobs] Needed to hit target = (A / 12) / B
Card 2 "Number of [Leads] Required to Hit Target"
Input:
C. [Lead] to Sold [Job] close rate (%), default 45
Result (highlighted):
[Leads] needed per month to hit target = ((A / 12) / B) / C * 100
Summary tiles: Annual Goal (A) | # of Sold [Jobs] needed per month | # of [Leads] needed per month
=== TAB 2: "Budget Planner" (page title "Marketing Budget Planner") ===
Card "Annual Revenue & Marketing Investment"
Inputs:
A. Annual Revenue Target ($), SAME value as Tab 1 (editing either one updates both)
D. Marketing Investment (% of Revenue), default 8, step 0.1
Show this guide under it: Maintain: 1-5% | Moderate Growth: 6-10% | Accelerated Growth: 11-15% | Aggressive Growth: 15%+
Results:
Annual Marketing Budget (highlighted) = A * D / 100 (call this BUDGET)
Monthly Marketing Budget = BUDGET / 12
Card "Marketing Budget Allocation" (three inputs side by side, each with its $ amount next to it)
E. Allocated to online marketing (%), default 50 -> ONLINE = BUDGET * E / 100
F. Allocated to offline marketing (%), default 40 -> OFFLINE = BUDGET * F / 100
G. Allocated to repeat business (%), default 10 -> REPEAT = BUDGET * G / 100
If E + F + G is not 100, show a yellow warning: "Online + offline + repeat add up to X%. Adjust so they total 100%."
Card "Online Marketing"
H. SEO %, default 50 -> SEO = ONLINE * H / 100
I. PPC / LSA %, default 30 -> PPC = ONLINE * I / 100
J. Display / Retargeting %, default 20 -> DISPLAY = ONLINE * J / 100
If H + I + J is not 100, show the same style of warning.
Below: a 12-row table, January to December, then a TOTAL row. Columns:
Month | SEO | % of Budget | $ Amount of Budget | PPC / LSA | % of Budget | $ Amount of Budget | Display / Retargeting | % of Budget | $ Amount of Budget
Each month: "% of Budget" shows the channel % with 2 decimals (e.g. 50.00%), "$ Amount" = channel total / 12.
The SEO, PPC / LSA and Display name columns are blank spacer columns in each row.
TOTAL row shows SEO, PPC and DISPLAY annual totals.
The table scrolls sideways on small screens.
Summary tiles: Total Marketing Budget For The Year (BUDGET) | Online Marketing (ONLINE) | Offline Marketing (OFFLINE)
=== TAB 3: "Revenue Target" (page title "Revenue Target Calculator") ===
Card "Your Revenue Gap Details"
Inputs:
K. Revenue Gap ($), default 50,000
L. Average Ticket Value ($), default 650
M. Conversion Rate (%), default 45
N. Months Left (number), default 6
Results:
Total Opportunities Needed = K / L / (M / 100)
Required Opportunities / Month (highlighted) = Total Opportunities Needed / N
Revenue Needed / Month = K / N
Summary tiles: Revenue Gap (K) | Opportunities / Month | Revenue / Month
=== TAB 4: "Your Plan" (page title "Your Marketing Plan") ===
Card "Can Your Budget Buy the [Leads] You Need?"
Input:
P. Your average cost per [lead] ($). NO default; leave blank with placeholder "Enter yours".
Helper text: "Use your real number from your ad accounts or CRM. Total marketing spend divided by total [leads]."
Show (pulled from the other tabs): [Leads] needed per month (Tab 1, rounded) and Monthly Marketing Budget (Tab 2).
Results:
Monthly spend needed to buy those [leads] (highlighted) = rounded [Leads] per month * P (show "..." until P is entered)
Budget gap per month = spend needed - Monthly Marketing Budget.
If positive show "$X short" and the note "Raise the budget, lower cost per lead, or improve close rate."
If zero or negative show "$X to spare" and "Your budget covers the leads you need."
Revenue per $1 of marketing = A / BUDGET, shown like "12.5x"
Most you can pay per [lead] on your current budget = Monthly Marketing Budget / rounded [Leads] per month
Buttons: "Save my plan as PDF" (window.print, with print CSS that hides nav and buttons and prints all tabs)
"Copy link to my plan" (puts every input into the URL after # and copies the link)
=== EXTRAS ===
- Save all inputs in the browser (localStorage) so a refresh keeps the numbers.
- If the page URL has values after # (e.g. #annualRevenue=2000000&tab=budget), load them and open that tab.
- Add the visitor's numbers to the booking link as URL parameters: revenue_goal, leads_per_month, marketing_budget
(so my booking form can capture them).
- Replace the words "job/jobs" and "lead/leads" everywhere with my industry words from BRANDING.
When done, give me the complete file in one code block.Default check
With the default numbers, your version should show:
| Monthly Revenue Target | $125,000 |
| Monthly jobs needed | 192 |
| Leads needed per month | 427 |
| Annual Marketing Budget | $120,000 |
| Monthly Marketing Budget | $10,000 |
| Online / Offline / Repeat | $60,000 / $48,000 / $12,000 |
| SEO / PPC / Display (year) | $30,000 / $18,000 / $12,000 |
| SEO per month | $2,500 |
| Revenue Target tab: total opportunities | 171 |
| Opportunities per month | 28 |
| Revenue needed per month | $8,333 |
| Revenue per $1 of marketing | 12.5x |
| Most you can pay per lead | $23 |
| With cost per lead $100: spend needed / gap | $42,700 / $32,700 short |
If a number is off, paste this table back into the AI and say "these numbers don't match, fix the formulas."