# Build a quote calculator with Codex

> Researched. Small business · Intermediate · Leads. Updated 2026-11-09.

Canonical page: https://www.aisetupsthatwork.com/setups/build-a-quote-calculator-page-with-codex/

## What it does
Build a simple price estimate calculator for your website from your own price list, so visitors see a range before they call.

## Who it's for
Service owners with a fairly steady price list, like cleaning, lawn care or painting, who get the same "how much?" question all day.

## Tools
- The ChatGPT desktop app with Codex (macOS, Windows or Linux)
- Your price list and pricing rules, written out
- Your website builder, to add the page or embed it

## Steps
1. Write your price list and rules on paper first: base prices, add-ons, minimum charge, and what makes a job cost more.
2. Install the ChatGPT desktop app, sign in, and open an empty folder. Select Codex from the ChatGPT dropdown.
3. Leave permissions on Ask for approval for your first try. Paste the prompt below with your prices.
4. Open the page Codex made in your browser. Try the cheapest job, the biggest job and a few in between, and check each total with a calculator.
5. Ask Codex to fix anything that is off. When it is right, add it to your website the way your builder allows (a custom code or HTML block, or an uploaded page).

## Copy-paste prompt
Adapt bracketed fields to your situation.
```text
Build a single-page price estimate calculator for my business website in this folder. One HTML file with its own styles and script, no outside services.

Business: [NAME], [WHAT YOU DO], [TOWN]
Price list and rules:
[PASTE e.g. Standard clean: $120 for up to 2 bedrooms, +$30 each extra bedroom, +$25 per bathroom over 1. Deep clean: x1.5. Minimum $120.]

The page should:
1. Let the visitor pick the options above with simple buttons and number boxes.
2. Show a price range: the calculated price to 15% above it, with the top of the range rounded up to the next $5.
3. Always show this line under the price: "This is an estimate. Your final quote comes after we see the job."
4. End with a "Request a quote" button that links to [YOUR CONTACT PAGE OR PHONE].
5. Work on a phone screen.

Rules: use only my prices and rules. Do not invent discounts, fees or guarantees. Do not collect or send any customer data. When done, list 5 test cases with the expected price so I can check the math.
```

## Guardrails
- What it touches: Chat input you provide (The ChatGPT desktop app with Codex (macOS, Windows or Linux); Your price list and pricing rules, written out).
- Needs your OK: Send, pay, publish, and account changes stay with you. Treat agent output as drafts first.
- Safety level: Drafts for you
- Check the math yourself: Codex lists test cases at the end. Work out at least three of them with a calculator before the page goes live. A wrong price on your website is a promise you did not mean to make.
- Researched, not run by us: We have not run this in Codex yet. The steps follow OpenAI's own Codex docs. If a menu looks different, follow the app.
- Rounding gives odd totals. Tell Codex exactly how to round.
- It adds a feature you did not ask for, like a discount code. Ask it to remove it.
- Your builder strips scripts from pasted HTML. Check its help pages for how to add custom code.

## Tips
- Show a range, not one exact number. It sets fair expectations.
- Update the price list in one place: ask Codex to keep all prices at the top of the file.
- Put the calculator on the page people already visit for prices.

## Estimates (labeled, not measured)
- Time saved: Not stated in sources.
- Money saved: Not stated in sources.
- Tool cost: Codex is included in ChatGPT plans. OpenAI lists Free ("quick coding tasks"), Go, Plus, Pro and Business, checked Nov 9, 2026. Plan prices: see chatgpt.com/pricing. A simple one-page calculator is a small job.

## Sources
Summaries use the public sources below, not independent verification.
- OpenAI: https://learn.chatgpt.com/docs/quickstart (ChatGPT and Codex quickstart (read Nov 9, 2026): install the ChatGPT desktop app for macOS, Windows or Linux, sign in, open a folder (it can read and modify files in that folder), and select Codex from the ChatGPT dropdown for building and fixing code.)
- OpenAI: https://learn.chatgpt.com/docs/permission-modes (Permissions (read Nov 9, 2026): modes are Ask for approval (always asks to edit files outside the folder and to use the internet), a mode that asks only for actions detected as potentially unsafe, Full access, and Custom.)
- OpenAI: https://learn.chatgpt.com/docs/pricing (Pricing (read Nov 9, 2026): Codex is included in ChatGPT Free ("Explore Codex capabilities on quick coding tasks"), Go ("lightweight coding tasks"), Plus, Pro and Business plans.)

## Get the free starter pack
Five beginner copy-paste AI setups, free by email: https://www.aisetupsthatwork.com/starter-pack/?utm_source=ai-agent&utm_medium=markdown&utm_campaign=setup-build-a-quote-calculator-page-with-codex

Related:
- [Price a job so you do not lose money on it](https://www.aisetupsthatwork.com/setups/price-a-job-without-losing-money/index.md)
- [Turn messy job notes into a clean quote](https://www.aisetupsthatwork.com/setups/write-a-quote-from-messy-notes/index.md)
- [Build a lead-gen site with an AI bot](https://www.aisetupsthatwork.com/setups/build-a-lead-gen-site-with-an-ai-bot/index.md)
