A quote calculator your customers can use: a Claude + Bolt.new stack

The struggle: Customers email you for quotes you could price in 30 seconds if they could self-serve.

What you end up with: A calculator on your site where customers enter their details and see a price, with your rules checked by you.

Write the price rules as exact formulas with worked examples, let Bolt build the form, and test your own examples before a customer sees a number. Every input is validated.

Tools: Claude, Bolt.new. Level: Free to start. Time: 3 hours.

Use it if

  • You quote the same jobs by hand over and over
  • Your pricing is rule-based
  • You want customers to self-serve

Skip it if

  • Your prices depend on judgement for each job
  • Prices need legal or tax rules you cannot state clearly

The method

  1. Write the price rules as formulas (Claude: Chat)

    Tell Claude how you price, with 5 real past quotes. Ask for the formula, edge cases and a test table of expected prices.

    Prompt to copy:

    Turn my pricing into exact rules. Inputs: [list]. How I price: [explain]. Past quotes with their results: [5 examples]. Write the formula step by step, edge cases (minimums, rounding, extras, out-of-range inputs) and a test table with at least 10 input rows and expected price. If my past quotes disagree with my rules, tell me which ones.

    You get: Formulas and a test table of expected prices.

    Tip: If two past quotes contradict, fix the rule, do not hide it.

  2. Build the calculator (Bolt.new: Chat)

    Open Bolt and paste the rules. Ask for a form, a result, and strict checks on every input. Ask it to show the price only after checks pass.

    Prompt to copy:

    Build a quote calculator web page. Inputs: [list with allowed ranges]. Follow these rules exactly: [paste formulas]. Validate every input: required, number, minimum, maximum. Show a friendly error rather than a wrong price. Show the price with a note that it is an estimate. Do not store anything yet.

    You get: A working calculator.

    Tip: Ask for 'estimate' wording so a quote is not a contract.

  3. Test your own examples (Claude: Chat)

    Enter each row of the test table and compare with the expected price. Paste mismatches into Claude with the inputs.

    Prompt to copy:

    These calculator results do not match my expected prices: [rows with inputs, expected and actual]. Work out whether the formula or the builder's code is wrong and give me one short instruction to send to the builder. If more than one rule is involved, list them separately.

    You get: A short list of fixes.

    Tip: Test the edges: zero, the maximum, the minimum and a wrong value.

  4. Polish text and colours (Bolt.new: Select tool)

    Use the Select tool to edit text and styles in the preview. It uses tokens only when you save, so batch your edits.

    You get: A page that matches your brand.

    Tip: Add contact details so customers can reach you to confirm the price.

  5. Publish and send a few testers (Bolt.new: Publish)

    Publish and send the link to two trusted customers. Ask them to do a quote you already know and check the answer.

    You get: A live calculator tested by real people.

    Tip: Check prices against your rules again after any change.

Where this goes wrong

  • Pricing logic must be checked by you with real examples before customers see it.
  • Validate every input and show clear errors instead of a wrong price.
  • State that results are estimates if you cannot honour them as binding.
  • If your prices involve tax or consumer rules, have a qualified person check this before you sign, file or send it.

Swap a tool

  • Lovable instead of Bolt.new: Either builder can make this single-page tool.

Sources

More like this

Updated . Written with AI help and checked by an independent review step, as described in our editorial standards.