Free Quotation Generator
Make a clean price quotation or estimate — line items, discount, Sri Lanka VAT and SSCL, a deposit, and a validity date — then download an A4 PDF with an acceptance block. Quote in six currencies, no signup, everything in your browser.
How it works
A quotation is the price you commit to before a job begins. The client reads it, decides, and accepts — so it has to be clear, correct, and dated. This tool builds that document and handles the only part that is not plain arithmetic: Sri Lankan tax. The VAT and SSCL rates and their stacking order come from the Inland Revenue Department, and the output is deterministic — there are no live rates and no network calls.
For each quotation the calculator does this:
- Line totals.
lineTotal = quantity × unitPrice, rounded to the currency's precision, then summed into the subtotal. - Discount and net. A discount can be a percentage of the subtotal or a flat amount. The net is
max(0, subtotal − discount)— you cannot discount below zero. - SSCL (2.5%). The Social Security Contribution Levy is charged on the net:
net × 0.025. It is computed first because it forms part of the value VAT is then applied to. - VAT (18%). VAT is charged on the net plus SSCL:
(net + SSCL) × 0.18. If you mark the work as an export of services, VAT is suppressed and the document prints the §7 zero-rating note instead. - Grand total, deposit, balance. The grand total is net + SSCL + VAT + any custom tax. A deposit (percentage or flat) comes off that, and the balance on completion is the remainder. The deposit and balance are rounded so they always sum to the grand total exactly.
The grand total is verified two independent ways. The step path above adds SSCL and VAT line by line; a cross-check multiplies the net by the combined factor (1 + 0.025) × (1 + 0.18) = 1.2095 when both levies apply. Both routes agree to the cent on every example below, because charging VAT on (net + SSCL) is algebraically the same as that single multiplier.
The PDF is rendered with pdf-lib, an MIT-licensed pure-JavaScript library that is loaded only when you press Generate, so the page stays light until then. The layout is A4 with a Sapphire accent band, your optional logo top-right, the line-item table, the totals stack, your terms, and a signature block for acceptance. Long quotes paginate automatically; up to 100 line items are accepted.
Worked examples
Quotation vs invoice — which do I send?
The two documents look similar but do different jobs, and sending the wrong one confuses clients and accountants alike:
Frequently asked questions
Sources & references
- IRD Sri Lanka — Value Added Tax (VAT), standard rate 18%
- IRD Sri Lanka — Social Security Contribution Levy (SSCL) 2.5%
- Central Bank of Sri Lanka — indicative exchange rates (LKR-equivalent helper)
- pdf-lib — MIT-licensed pure-JavaScript PDF library used for rendering
- MDN — Web Storage API (the localStorage used for Save)
The tax rates and stacking order were cross-checked against the IRD guides on 2026-06-28. The calculation module lib/data/quotation-generator.ts carries the full citation chain and is verifiable against the worked examples above.
Related tools
Comments & feedback
Spotted a bug or want an improvement? Tell us — our team reviews every comment, and good ideas get built. Comments are public and anonymous.
Found a bug, edge case, or want to suggest an improvement?
Email me at [email protected] — most fixes ship within 24 hours.