Prozentrechner

Berechnen Sie Prozente, Rabatte, Steuern und Trinkgeld schnell.

// about

Über dieses Tool

Geben Sie einen Betrag und einen Prozentsatz ein, um den Prozentwert und den Betrag nach dem Aufschlag zu berechnen.

So verwenden Sie es

  1. Geben Sie die ursprüngliche Zahl oder den Betrag ein.
  2. Geben Sie den Prozentsatz ein.
  3. Klicken Sie auf Berechnen, um Prozentbetrag und Summe zu sehen.

Warum dieses Tool genutzt wird

  • Geeignet für Preise, Steuern, Trinkgeld, Rabatte, Budgets und allgemeines Rechnen.
  • Zeigt sowohl den Prozentanteil als auch die Endsumme.
  • Nutzt Dezimalarithmetik, damit währungsähnliche Werte exakt bleiben.
Ratgeber · Rechnen · 7 Min. Lesezeit

Prozentrechnung erklärt: Prozentuale Veränderung, Prozentpunkte, gestaffelte Rabatte und Mehrwertsteuer

Wie stark ist der Umsatz gewachsen? Was kostet es im Sale? Ist der Zins um ein Prozent oder einen Prozentpunkt gestiegen? Prozentrechnung wirkt einfach, doch der falsche Grundwert ändert das Ergebnis.

Ein Prozentsatz ist ein Verhältnis, ausgedrückt in Hundertsteln. Jede Prozentrechnung läuft darauf hinaus, den richtigen Grundwert (den Nenner) zu wählen, und die meisten Alltagsfälle passen zu einer dieser vier Formeln.

① Wie viel sind B % von A?        A × B ÷ 100          (15 % von 80.000 = 12.000)
② A ist wie viel % von B?        A ÷ B × 100          (12 ÷ 48 × 100 = 25 %)
③ Veränderung von A zu B         (B − A) ÷ A × 100    (200 → 250 = +25 %)
④ A um B % erhöht/verringert     A × (1 ± B ÷ 100)    (50.000 + 20 % = 60.000)
Vier Grundformeln, Prozent und Prozentpunkte, warum 20 % plus 10 % Rabatt keine 30 % sind und wie Sie die Mehrwertsteuer herausrechnen.
Ratgeber lesen →
Mit KI bauen

Dieses Tool selbst mit KI bauen

Sie möchten eine eigene Version? Kopieren Sie den Arbeitsauftrag in einen KI-Chat oder speichern Sie die Skill-Datei für einen KI-Coding-Agenten. Beide enthalten die Funktionen, Sonderfälle und Testfälle, die wir verwendet haben.

Prompt und Skill sind auf Englisch, das KI-Tools in jeder Sprache gut verstehen.

KI-Arbeitsauftrag (Prompt)

Unverändert in Claude, ChatGPT oder Gemini einfügen.

You are an experienced full-stack web developer. Build a web tool called "Prozentrechner" that meets the requirements below.

## Goal

Build a calculator for everyday percentage tasks: share, percent change, increases/decreases and reverse calculations.

## Core features

- What is B% of A
- A is what percent of B
- Percent change from A to B
- Increase or decrease A by B%
- Original price from a discounted price

## Inputs

- Two numbers per calculation type

## Outputs

- Result
- Formula and working shown step by step

## Edge cases and handling rules

- Explain division by zero when the base is 0
- Support negative and decimal numbers
- Rounding option to hide floating-point noise
- Note on percent versus percentage points

## Implementation requirements

- Build it as a single page (HTML, CSS, JavaScript) that runs entirely in the browser, and never send the user's input to a server.
- Make the UI responsive and easy to use on mobile; label every input and keep everything keyboard accessible.
- Add a Copy button for results and show clear, friendly error messages for invalid input.
- Keep the core logic in functions separate from the UI so it can be unit-tested.

## Definition of done (test cases)

- 15% of 80000 = 12000
- Change from 200 to 250 = 25%
- If 72000 is 20% off, the original is 90000

First outline your implementation plan in at most five lines, then write the complete code, and finally explain how to check the test cases above.

Skill (SKILL.md)

Als .claude/skills/build-percent-calculator/SKILL.md speichern, damit Agenten wie Claude Code es bei jeder Änderung am Tool wiederverwenden.

---
name: build-percent-calculator
description: Use when building or changing a Prozentrechner tool. Build a calculator for everyday percentage tasks: share, percent change, increases/decreases and reverse calculations.
---

# Build: Prozentrechner

## Goal

Build a calculator for everyday percentage tasks: share, percent change, increases/decreases and reverse calculations.

## Workflow

1. Review the required features, inputs and outputs below and ask about anything missing first.
2. Implement the core logic as pure functions separate from the UI.
3. Check the logic against the test cases in the verification list.
4. Build a responsive UI with an input form, a result area and a Copy button.
5. Reproduce each edge case listed under Rules and refine the error messages.

## Core features

- What is B% of A
- A is what percent of B
- Percent change from A to B
- Increase or decrease A by B%
- Original price from a discounted price

## Inputs

- Two numbers per calculation type

## Outputs

- Result
- Formula and working shown step by step

## Rules

- Explain division by zero when the base is 0
- Support negative and decimal numbers
- Rounding option to hide floating-point noise
- Note on percent versus percentage points
- Build it as a single page (HTML, CSS, JavaScript) that runs entirely in the browser, and never send the user's input to a server.

## Verification

- [ ] 15% of 80000 = 12000
- [ ] Change from 200 to 250 = 25%
- [ ] If 72000 is 20% off, the original is 90000

Tipps für die Arbeit mit KI

  • Nennen Sie in der ersten Zeile Ihren Stack (React, Vue oder reines HTML), damit der Code passt.
  • Lassen Sie die KI die Testfälle ausführen und die Ergebnisse zeigen, bevor Sie den Code übernehmen.
  • Fügen Sie keine echten Passwörter, Kundendaten oder API-Schlüssel ein; nutzen Sie Beispielwerte.