You know your prices, but a prospect has no easy way to try them. They can't pick a package, add a few pages and watch the total change without waiting for you to send a quote.
Claude and ChatGPT can build that calculator from a rate card. You supply the prices and the rules, the AI writes the page, and two jobs stay with you: checking the numbers and getting a working file out of the conversation. This article covers both, with a prompt to paste and six totals to test against.
Try the finished example first. Choose a package, change the number of extra pages and switch the add-ons on and off.
Your project
One landing page and one round of revisions.
$150.00 per page, up to 10. 5% off the extra-page line from 5 pages.
Estimate
- Base price
- $800.00
- Extra pages0 × $150.00
- $0.00
- Volume discountFrom 5 extra pages
- $0.00
- Copywriting
- $0.00
- One-time total
- $800.00
- Monthly supportBilled each month
- $0.00
- First-invoice estimateOne-time total plus the first month of support
- $800.00
Illustrative estimate. Taxes excluded. Final scope and price are confirmed in the proposal. Amounts in USD.
The prices are made up for a small web design agency, and taxes are left out. Swap in your own once you've seen how the pieces fit.
Write down the prices and rules
Start with the numbers rather than the prompt. The AI builds whatever you describe, so a vague rate card gives you a vague calculator. This one has six prices and a single discount rule.
| Item | Price | Billed |
|---|---|---|
| Basic package | $800 | One time |
| Standard package | $1,200 | One time |
| Plus package | $1,800 | One time |
| Additional landing page | $150 each, from 0 to 10 | One time |
| Copywriting add-on | $200, optional | One time |
| Monthly support | $75, optional | Every month |
Three rules sit on top of those prices:
- The discount starts at five additional pages and takes 5% off the whole additional-page line. The package and copywriting are never discounted.
- Monthly support stays out of the one-time total, because a monthly fee is a different commitment from a build fee.
- The first-invoice estimate is the one-time total plus one month of support.
The calculator starts on Basic with zero additional pages and both add-ons off. If the page count is blank, negative, fractional or above 10, it shows an error next to the field and hides the totals until the entry is fixed.
Work out the answers yourself before you ask for anything. These six results are the test every version has to pass:
- Minimum. Basic, 0 extra pages, no add-ons. One-time $800.00, monthly $0.00, first invoice $800.00.
- Quantity. Standard, 2 extra pages, no add-ons. One-time $1,500.00, monthly $0.00, first invoice $1,500.00.
- Add-on. Standard, 2 extra pages, copywriting. One-time $1,700.00, monthly $0.00, first invoice $1,700.00.
- Below the discount threshold. Standard, 4 extra pages, copywriting. One-time $2,000.00, monthly $0.00, first invoice $2,000.00.
- At the discount threshold. Standard, 5 extra pages, copywriting and support. One-time $2,112.50, monthly $75.00, first invoice $2,187.50.
- Maximum. Plus, 10 extra pages, copywriting and support. One-time $3,425.00, monthly $75.00, first invoice $3,500.00.
These totals were calculated separately from the calculator, and the calculator above matches all six. Paste the rate card, the three rules and these six results into the prompt, and keep the results for the checks later.
Build it in Claude
Claude is the main route here, because it can build the calculator as an interactive artifact, a working tool that appears next to the conversation. Anthropic lists artifacts on Free, Pro, Max, Team and Enterprise plans, and they need the code execution and file creation setting turned on.
Paste the prompt
Open a new conversation on claude.ai or in the desktop app. Start the message with Build this as a standalone, self-contained interactive artifact with no external assets. so the calculator comes back as a lasting artifact rather than a passing inline visual, then paste the prompt below. Paste the rate card, the three rules and the six expected results at the end, where the last line says to.
Create a working interactive quote calculator for a small web design agency.
I will supply the rate card and pricing rules below. Use those exact values.
If a rule is missing or contradictory, ask me before choosing a value.
The deliverable is a standalone, self-contained artifact: a preview and
one complete downloadable file called quote-calculator.html. Put the
HTML, CSS and JavaScript inside that file, with no external assets such
as fonts, images or scripts loaded from elsewhere. It must work by
opening the file in a browser, without installation, external libraries,
AI calls or a server.
Provide a package selector, a number field for additional pages, and
checkboxes for copywriting and monthly support. Update the estimate as
the inputs change. Show the base price, extra-page charge, discount,
copywriting, one-time total, monthly support and first-invoice estimate
as separate labelled amounts. Format amounts as USD with two decimals.
Label it "Illustrative estimate. Taxes excluded. Final scope and price
are confirmed in the proposal." Add a Reset button.
Additional-page quantity must be a whole number from 0 to 10. If it is
blank or invalid, show an error beside the field and hide the totals
until it is corrected. Start with Basic, zero pages, add-ons off.
Use clear labels, visible keyboard focus and readable controls on a phone.
Use stable IDs: package, extra-pages, copywriting, monthly-support, reset.
Keep the rates together in a labelled configuration block.
Do not collect contact details, submit orders, store selections or take
payments. Do not include tracking code; hosting and tracking are separate.
Before delivering, check the expected-result table I provide. Report any
corrections and give me the final HTML file.
Rate card, formulas and expected results:
[Paste the supplied tables here.]
Three parts of that prompt are worth keeping in any version you write. Telling the AI to ask when a rule is missing surfaces gaps in your pricing before a client finds them, and asking for one standalone file with no external assets keeps the calculator portable. The final check against your table gives you a first pass that doesn't replace your own.
Prefer a file to pasting? Attach rate-card.csv instead, using the + button and Add files or photos, or by dragging it into the chat. Anthropic lists CSV as a supported document type.
The file holds the prices, the rules and the total formulas. Replace the last two lines of the prompt with the instruction below, and paste only the six expected results under it.
The rates and rules are in the attached rate-card.csv. Confirm the rates
and rules you read, then build the calculator as a standalone,
self-contained file with no external assets.
Inspect the first version
You should see a package menu, a number field for additional pages, two add-on checkboxes, a Reset button and an estimate with seven separate amounts: base price, extra pages, discount, copywriting, one-time total, monthly support and first-invoice estimate. Change an input and the estimate should update without any button press.
Refine it
When a total is off, brief the AI the way you'd brief a person: name the case that's wrong and say what you expected.
Each wrong total points at a rule. Standard with five extra pages, copywriting and support should show $2,112.50. A one-time total of $2,042.50 means the discount came off the whole total instead of only the extra pages, and $2,150.00 means the discount was skipped.
If clearing the page-count field leaves a stale total or shows NaN, ask for the fix directly: "When extra pages is blank, show an error beside the field and hide the totals. Keep it one standalone file with no external assets." Change one thing per message, then rerun the case that failed.
Export the file
Once the numbers match, get the file out of the conversation. If Claude built the calculator in its Design template, use the Export button and choose standalone HTML. Anthropic's artifacts page names Export as the control for template artifacts, and its Claude Design help page lists standalone HTML as an export format.
If your artifact has no HTML option, ask Claude to create the complete calculator as one standalone, self-contained file named quote-calculator.html, with no external assets, that you can download.
Using Claude Cowork with an existing rate card
Cowork adds a folder workflow to attaching the CSV: Claude reads the file from a folder on your computer and saves the finished calculator back into that folder, with no upload or download step. Anthropic says it can read from and write to your local files in the folders you've connected.
Put rate-card.csv in a folder and connect that folder in the Claude desktop app. Cowork is available on paid plans, which means Pro, Max, Team and Enterprise.
Use the same prompt and the same first line, but replace the last two lines, the ones about pasting the rate card, with the instruction below. The file carries the prices and rules, so paste only the six expected results underneath it.
Read rate-card.csv from the folder I connected. Confirm the rates and
rules you read. Build the calculator as a standalone, self-contained
HTML file with no external assets, and save it as quote-calculator.html
in that folder. Leave the source rate card unchanged and tell me where
you saved the result.
Cowork runs its tasks in the cloud and reaches your folder through the desktop app, so leave the app open while it works.
Some accounts still show a Chat and Cowork choice, and on those you select Cowork. Anthropic is merging the two into one conversation, rolling out gradually and starting with Pro and Max. On an account with the merged experience, ask for the same thing in a regular conversation and connect the folder in the desktop app as before.
Use ChatGPT as an alternative
The rate card, the prompt and the six checks stay the same, so only the creation and download steps differ. Paste the same prompt, rate card, rules and expected results into ChatGPT. The deliverable is the same standalone, self-contained quote-calculator.html with no external assets, as a file you can download.
OpenAI's documentation says generated HTML files can open as interactive previews where HTML previews are available, and that the preview and review tools depend on the surface you use. For ChatGPT Work on the web, it says to review the generated file in the chat and download it when needed.
ChatGPT can also present a page as a Site, a Canvas or an HTML preview instead of a file, and the guide to sharing a ChatGPT-generated HTML website covers each case. If yours shows no preview, download the file and open it in your browser.
Either way, test the downloaded file rather than the preview, because the file is the version you'll share.
Check the exported calculator
A calculator can look right and still be wrong, and a wrong total in front of a client costs you money or credibility. Close the AI conversation and run these checks on the downloaded file.
- Open the file by double-clicking it. It should work in your browser without a sign-in, an internet connection or Claude running.
- Choose Standard, enter 2 extra pages and tick copywriting. The one-time total should read $1,700.00.
- Change the pages to 4. The total should read $2,000.00 with no discount. Change it to 5 and tick monthly support: $2,112.50 one-time, $75.00 monthly and $2,187.50 for the first invoice, with a discount line of -$37.50.
- Clear the page field, then try -1, 2.5 and 11. Each should show an error beside the field and hide the totals until you fix the entry.
- Press Reset. The calculator should return to Basic, 0 pages and both add-ons off, showing $800.00.
- Run the remaining cases from the list of six. Plus with 10 pages and both add-ons is a good last one: $3,425.00, $75.00 and $3,500.00.
- Narrow the browser window to phone width, or open the file on a phone. Nothing should scroll sideways and the controls should be easy to tap.
- Put the mouse aside and use the keyboard. Tab should move through every control with a visible focus outline, and Space should toggle the checkboxes. Safari on a Mac reaches buttons and other controls with Tab only when Keyboard Navigation is turned on in Keyboard settings.
Then open the file in a text editor. The prices should appear once, together, in a labelled block. You change that block later, or ask the AI to change it.
Keep private numbers out of the file
Anyone who opens the file can read its code, so private costs, margins and approval thresholds don't belong in it. Browser arithmetic doesn't enforce approved pricing either, because a recipient can edit their own copy of the file.
Share the calculator with a client
Send a link rather than the file. Email and cloud storage tend to show HTML as source code or block it, which the guide to sharing an HTML file with a client explains in detail.
Claude can share an artifact itself, with options that depend on your plan and your organization's settings. Anthropic's sharing documentation says people need a Claude account to open a newly shared artifact, with an exception for legacy artifacts published from a chat. That suits a colleague who uses Claude and adds a step for a client who doesn't.
For a link any client can open, upload the exported file to a host that serves HTML. HummingDeck, our product, does this, and its HTML sharing page has the details.
A single HTML file works on the free plan. The steps are:
- In Document Library, select Add document and choose
quote-calculator.html. The HTML upload requirements cover what the file needs. - When processing finishes, select New link, choose a Personal link and create one for yourself first, named as a test.
- Open the test link in a private browser window, the way your client will, and rerun the checks. The viewer runs your file in a sandboxed frame, so a pass on your own computer doesn't prove the recipient link works.
- Create the client's Personal link the same way and send it. Your test visit stays on the test link, so the client's link starts with a clean record. Once your client has opened it, check the document's Links area for the view recorded against that link.
The two-minute walkthrough below uses a pricing calculator as its sample. It shows the upload, a Personal link for one client, the client's view of the calculator, and the recorded visits afterwards. Open the full tutorial and written steps
How to Share an HTML File as a Link and Track Visits
Watch on YouTubePlays from YouTube when you press play.
Chapters
Read the transcript
00:00 Share interactive HTML files
Here's how to share interactive HTML files with clients and track visits using HummingDeck. Upload a file you've already created, send a link, and let your client explore it in their browser.
00:14 Upload your finished HTML file
For this example, we're using a finished, self-contained HTML pricing calculator. It could be made with AI or built by a developer. In your Library, choose Add document, upload it, and check that the controls work. Other formats work too: PDF, PowerPoint, Word and Excel.
00:37 Create a client link
Create a Personal Link for your buyer and copy it into your email. Give them something useful to try: “Try both plans with your team size before our call.”
00:50 Explore the HTML file in a browser
The link opens the calculator in their browser. They don't need a HummingDeck account. Switch from Standard to Plus, and the estimate updates. Your buyer can explore the options themselves.
01:07 Review visits and viewing time
Back in HummingDeck, open Links to check visits recorded against that link. On Starter and above, Analytics shows the visit history and recorded viewing time. You can use that context to follow up: “Would it help to walk through the plans together?”
01:26 Add HTML files to a Room
To share the rest of your sales material, add this HTML file to a HummingDeck Room alongside your presentation and proposal. Send one link to the whole set. Your buyer can open the calculator, then return to the Room to review the proposal. Share your interactive HTML files with HummingDeck. The link is below.
If the deal involves more than one document, put the calculator in a Room beside a fixed proposal and a case study, so the client opens one link. The free plan allows one Room with up to three documents, and the web design proposal template works as the fixed proposal.
What the estimate and the activity can tell you
The calculator and the proposal do different jobs. The calculator lets a buyer explore options and see an estimate, and the number you commit to goes into a fixed proposal you issue yourself.
If you want the client to respond on that proposal, a Proposal link records an accept, request changes or decline response on Pro and Business. The response is a recorded workflow response attached to the proposal document, and it doesn't capture a signature or whatever the calculator showed.
On the free plan, the document page shows total opens, unique viewers, time spent and average completion. Starter and above add per-page analytics and supported clicks, and the guide to adding analytics to an HTML page compares this with analytics scripts. A click on the calculator's buttons, checkboxes, dropdown or number field counts as a link click, and you see the count for each viewer and session.
What the activity shows
- A view means the link was requested and a viewing session began. It doesn't verify who opened it, and the link can be forwarded.
- A click count reflects how much the controls were used. HummingDeck doesn't show the options picked or the total on screen, and typing a number or changing the dropdown with the keyboard doesn't count as a click.
- Neither signal proves buying intent. Use them to decide when a follow-up would help.
CPQ, short for configure, price, quote, is a different tool from a calculator. Salesforce describes it as software that helps sales teams configure products, apply pricing rules, manage discounts and approvals and generate quotes, with CRM and ERP integration.
This calculator handles configuring and pricing for one simple price list. When you need saved quotes, a private catalog or discount approvals, you need a quoting system.
FAQ
Do I need Claude Cowork to build a quote calculator?
A regular Claude conversation is enough: paste the rate card in, or attach rate-card.csv to the message. Cowork adds a folder workflow, where Claude reads the file from a folder you connect and saves the finished calculator back there, and it needs a paid Claude plan with the desktop app open to reach that folder.
Can I build the calculator from an Excel or Google Sheets price list?
Export the price list as a CSV and attach it to the conversation, or paste the table into the prompt, then ask the AI to repeat back every rate and rule it read before it builds anything. Check that list against your sheet, and test the finished calculator with totals you worked out in the sheet itself.
How do I send an interactive quote calculator to a client?
Send a link instead of the file. Upload the HTML to a host that serves it, such as a HummingDeck link on the free plan, or share the artifact from Claude if your client has a Claude account. Test through a separate link of your own first, so your visit doesn't show up on the client's link.
Is a quote calculator the same as CPQ software?
A calculator shows an estimate from a fixed price list. CPQ software also applies pricing rules and discount approvals, generates quotes and integrates with CRM and ERP systems. Use a calculator to let buyers explore options, then send a fixed proposal for the price you commit to.
How do I change the prices later?
Edit the numbers in the labelled rates block in the file, or ask the AI to change them in the same standalone file and run your six checks again. Then use Replace on the document in HummingDeck, which keeps its existing links working. Replace isn't available while the document has an active Proposal link, so revoke that link first.
Can the calculator email me the quote or save what the client picked?
The version in this article calculates in the browser and stops there. Emailing quotes, saving selections or taking payment needs a form service, a database or a quoting system behind the page. Keep those out of the calculator and send a fixed proposal for the price you commit to.
About the author
Ilya Spiridonov is the founder of HummingDeck, a document-sharing platform that serves standalone HTML files to external recipients through links you can track.
Sources
- What are artifacts and how do I use them?, Claude Help Center, checked October 18, 2026
- Get started with Claude Design, Claude Help Center, checked October 18, 2026
- Get started with Claude Cowork, Claude Help Center, checked October 18, 2026
- Use Claude Cowork on web, desktop and mobile, Claude Help Center, checked October 18, 2026
- Claude Cowork and Chat are one Claude, Claude Help Center, checked October 18, 2026
- Share artifacts, Claude Help Center, checked October 18, 2026
- Upload files to Claude, Claude Help Center, checked October 18, 2026
- Work with files, ChatGPT Learn, OpenAI, checked October 18, 2026
- Keyboard shortcuts and gestures in Safari on Mac, Apple Support, checked October 18, 2026
- What is CPQ, or Configure, Price, Quote?, Salesforce, September 17, 2026
Related:
- How to share an HTML file with a client: why email and cloud storage break HTML, and which link option fits.
- Add analytics to an HTML page: compare analytics scripts with a tracked-sharing layer.
- Host a single HTML file: eight tools compared: compare public hosts, developer platforms and controlled sharing tools.
- Share a ChatGPT-generated HTML website: follow the same sharing workflow for a page created in ChatGPT.
- Share a Claude Design outside your organisation: the export and external-sharing workflow for Claude Design files.