SAVE 30%on all yearly plans
Shopping and orderingWebsiteNewly added

Discount calculator prompt: percent off calculator and sale price website

A discount calculator website prompt with a percent off calculator, stacked discounts, sale price math and a deal comparison for offers like buy 3 pay for 2. Works in Entrobase and other AI website builders.

Prompt

Fill in the fields below and the prompt updates instantly. Copy it and use it in any AI tool.

Make it yours

Prompt

Build a single-page discount calculator website called Cart Math. Goal: a shopper sees the sale price from the tag price, the discount percentage and which store deal saves more, within seconds.

CurrencyTurkish lira (₺, shown as ₺1,299.90). Amounts are shown with two decimals and thousands separators.

Sections in ordertop menu (links that scroll to sections), calculator in the hero, example calculations, formulas, FAQ, footer.

Designreceipt (cream background, black text, receipt cards with zigzag edges). Main color #d9412b; use it for the sale price, the selected tab and the "Best deal" badge. Typography: bold grotesque headings and tabular figures for amounts (a receipt feel); cards with 12 px corners.

Hero (the core component): a short headline and a one-sentence intro on the left, a calculator with three tabs on the right. Results update as values are typed; there is no separate calculate button.

Percent off: tag price and discount percentage (quick buttons 10%, 20%, 25%, 30%, 50%, 70%). The sale price in large type with the amount saved below it. "Add a second discount" stacks discounts (e.g. 30%, then another 10% at checkout) and shows the real total discount (37%). A "Reverse" switch finds the discount percentage from the old and new price.

Deal comparison: add 2-6 item prices to a cart; the deals are calculated one under another for the same cart: "Buy 3 pay for 2" (the lowest-priced item is free), "Second item 50% off" (in pairs sorted by price, the cheaper one is discounted), "N% off the cart", "Y off when you spend X". Each row shows the total to pay and the saving; the lowest total gets a "Best deal" badge. The assumption used is written under the card (store rules may differ).

Extra tool: unit price: compares the price per kilo or litre of different pack sizes.

Example calculations3 ready scenario cards (40% off a coat; buy 3 pay for 2 versus second item 50% off on a 3-item cart; one example for the extra tool). Clicking a card loads its values into the calculator.

Formulasthe sale price, discount percentage and stacked discount formulas, each with a one-sentence explanation and an example. FAQ: 5 questions in an accordion (one is "Why do 30% and 20% not make 50%?").

Contentcopy is plain and clear. The last values entered stay in the browser (localStorage). No sign-up, no ads, no store or real brand names. On phones the calculator is full width and the tabs scroll sideways.

Design preview made from this prompt

Design preview for the Discount calculator prompt: percent off calculator and sale price website prompt
Design preview drawn with Claude Design (Anthropic). Entrobase did not make this image, so your result may look different.
indirim hesaplamayüzde indirimkampanyaalışverişfiyat karşılaştırmabirim fiyat

What this prompt does

This prompt builds a single-page discount calculator website that works out the sale price from a tag price, the discount percentage from an old and new price, and the real rate of stacked discounts as you type. Its deal comparison tab puts offers like buy 3 pay for 2, second item 50% off and cart discounts side by side for the same cart and marks the best one. It is made for deal and coupon sites, shopping bloggers and anyone who wants their own calculator.

Where to use it

  • Deal and coupon site
  • Store sale page
  • Tool for a shopping blog
  • Percentage practice for students

Fields you can fill in

The fields you can change in the form above and their default values.

Site nameFree text
Cart Math
CurrencyOne of 4 options
Turkish lira (₺, shown as ₺1,299.90)
Extra toolOne of 4 options
unit price: compares the price per kilo or litre of different pack sizes
ThemeOne of 4 options
receipt (cream background, black text, receipt cards with zigzag edges)
Main colorColor
#d9412b

Step by step

  1. 1

    Choose the currency

    Currency sets the symbol and number format for every amount: Turkish lira, euro, US dollar or British pound. The site shows each amount with two decimals; the English page uses the ₺1,299.90 style with a decimal point.

  2. 2

    Pick the extra tool

    Extra tool decides what goes in the third tab: unit price for pack sizes, instalments, a free shipping threshold or VAT split. Unit price suits a grocery or beauty site best; instalments matter more for electronics and appliances.

  3. 3

    Choose a theme and send it to the builder

    Pick a receipt, dark, airy or pastel look from Theme, and set the color of the sale price and the Best deal badge with Main color. Use "Start" to build it in Entrobase Builder (a free account is required) or "Copy" to paste it into another AI tool.

  4. 4

    Check the math by hand

    Enter 1,000 with 30% and then 10% off; the result should be 630 with a 37% total discount. In reverse mode a price dropping from 800 to 600 should show 25% off. If anything differs, ask the builder to fix the formula.

  5. 5

    Test the deal card

    Add 3 items to the cart and compare buy 3 pay for 2 with second item 50% off. Check that the free item is the lowest-priced one, the lowest total gets the Best deal badge and the assumption line appears under the card.

Tips and variations

  • If you run a deals site, ask it to replace the example cards with your own weekly offers; visitors can click a card and carry on with their own cart.
  • If a store's buy 3 pay for 2 rule differs (for example the most expensive item is free), change "the lowest-priced item is free" in the prompt and the assumption line follows.
  • Under the formulas you can add a small table of 10% to 70% discounts with the sale price of a 100 item; visitors read the answer at a glance.
  • To embed the calculator in a store site, ask it to remove the hero intro and keep only the calculator; the tabs scroll sideways in narrow spaces.

Frequently asked questions

How do you calculate a discount?

The sale price is the tag price multiplied by (1 minus the discount rate). For a 1,000 item at 30% off you pay 1,000 × 0.70 = 700 and save 300. The site does this as you type.

How do I find the percent off from two prices?

Subtract the new price from the old one, divide by the old price and multiply by 100. An item dropping from 800 to 600 is (800 − 600) / 800 × 100 = 25% off. The site's Reverse switch does this for you.

Why do 30% and 20% off not add up to 50%?

The second discount applies to the price left after the first. A 100 item becomes 70 at 30% off; 20% then takes 14 off that 70 and you pay 56. The real total discount is 44%.

Is buy 3 pay for 2 better than second item 50% off?

It depends on how many items you buy and their prices. With 3 similarly priced items, buy 3 pay for 2 usually saves more because one item is completely free; with only 2 items, only the second item 50% off gives a discount. The deal comparison tab shows both totals for the same cart.

Why might the calculated price differ from the till?

Stores can round cents differently, apply a deal to a different item or apply discounts in another order. The site writes its assumption under the card; for the exact amount, read the store's deal terms.

Dashboards and dataWebsite5 variables

Claude Dashboard Prompts: 10 Ready-to-Use Prompts (2026)

Dashboard prompts: 10 ready-to-use prompts for admin, sales and SaaS dashboards, Excel and CSV reports and Power BI; works in Claude, ChatGPT, Gemini and Entrobase Builder.

Build a web-based admin dashboard for Kumsaati; a manager should see how the business is doing within 10 seconds of opening it and find a problem record in two clicks. Dashboard type: ecommerce sales dashboard (revenue, orders, average order value,…

Newly added
Tools and calculatorsWebsite5 variables

8 Presentation Prompts (Claude): Examples and Guide (2026)

8 presentation prompts: a web presentation that runs in the browser, slide outlines and speaker notes for Claude, ChatGPT and Gemini, plus project and team update decks.

Build a 8-slide web presentation about cutting the weekly meeting time of remote teams for an internal team meeting. Format: a one-page Next.js site; every slide fills the screen at 16:9 and moving between slides never reloads the page. Slide plan: 1. Cover:…

Newly added
Tools and calculatorsWebsite5 variables

Presentation Slides Prompt: 7 Copy-Paste Prompts for Gemini

7 presentation slides prompts: an interactive lesson deck with click-to-reveal quiz slides for the classroom, plus Gemini and ChatGPT prompts that build slides one by one.

Build a 10-slide interactive lesson presentation that teaches "Photosynthesis: how plants make their food" to 7th grade students. Format: a one-page Next.js site; slides are 16:9 and readable on a projector (body text at least 32 px). Slide plan: 1. Cover:…

Newly added
PortfolioWebsite5 variables

Slideshow Prompts: 8 Copy-Paste Prompts for ChatGPT

8 slideshow prompts: a full-screen photo slideshow site with autoplay and a thumbnail strip, plus ChatGPT prompts for social slideshows, product and travel slideshows and slideshow night.

Build a full-screen photo slideshow site for the Lodos Ceramics winter collection. Photos: 12 photos; use fitting stock photos for now, saved as public/slaytlar/01.jpg, 02.jpg and so on so I can swap in my own later. Slideshow: - Every photo fills the screen,…

Newly added
Landing pageWebsite5 variables

Claude Pitch Deck Prompts: 9 Ready-to-Use Prompts (2026)

9 pitch deck prompts for founders: an investor deck as a web presentation, slide copy, a deck from your business plan and a VC-style critique; works in Claude, ChatGPT and Entrobase Builder.

Build an 11-slide investor pitch deck for Tazetabak as a web presentation. Startup: a smart scale and app that measures food waste in restaurant kitchens. Stage: a seed round with recurring revenue started. Slides (in this order): 1. Cover: startup name, one…

Newly added
Landing pageWebsite5 variables

Slide Prompts: 8 Copy-Paste Prompts for Claude and ChatGPT

8 slide prompts: an animated product launch deck where elements build in one by one and numbers count up, plus Claude and ChatGPT prompts for slide design, slide images and better slide titles.

Build an animated 9-slide product launch presentation for Nemli as a web presentation. Product: a small soil moisture sensor that sends a watering reminder to the phone. Slides: 1. Cover: the product name large and plain, not in all caps, with a one-sentence…

Newly added