Amount Splitter

Enter your price list, then the amount to split. The tool finds item combinations (variable quantities) that add up to exactly that amount. Everything stays in your browser: nothing is sent to the server.

Price list
Amount to split

100% local calculation: the price list, amount and results never leave your browser.

Possible combinations

Combinations matching the amount will appear here.

    What is an amount splitter?

    An amount splitter finds every combination of items β€” with variable quantities β€” whose total matches a given sum exactly. A typical case: a professional receives a cheque or payment, knows only the total and their price list, and wants to see which item mixes can explain that amount. The tool converts every price into cents to avoid rounding errors, groups items that share the same price (indistinguishable from the amount alone), then searches combinations without duplicating permutations. All of the work runs in your browser: the price list, the amount and the results are never sent to a server.

    What is an amount splitter used for? 8 concrete use cases

    Reconstruct an order from a cheque

    You receive a payment and only know the total. Enter your price list to list the item mixes that add up to exactly that amount.

    Recover the contents of an invoice

    An invoice or credit note only shows the total. The splitter proposes possible combinations from your usual unit prices.

    Explain a till receipt

    A ticket or cash drawer shows an amount without line items. Test your prices to see which quantities can match.

    Spend a voucher or credit note exactly

    A voucher has a fixed value. Find baskets (variable quantities) that consume that amount with no remainder.

    Identify a wholesale order from its total

    A parcel or supplier settlement arrives with a total. Cross it with your catalogue to list possible lots.

    Read back a partial till ticket

    On a partly unreadable ticket, only the total is reliable. The tool lists combinations compatible with your price list.

    Value a mixed stock lot

    You know the value of a carton, not the breakdown. Search which quantities of each SKU can reach that value exactly.

    Check that a quote matches the price list

    Verify that a quoted total can be built from your unit prices, with no guesswork or rounding.

    Best practices for splitting an amount

    • Enter exact unit prices (down to the cent). The tool only keeps exact matches: a one-cent difference drops a combination.
    • Give each row a clear label. Items at the same price are grouped in the results (e.g. 3 Γ— 10 (A or B)): explicit names make the list readable.
    • Keep the number of distinct prices low. More distinct tariffs explode the number of combinations. Twenty unique prices is a deliberate cap so the search stays responsive.
    • Start from the most precise amount you have. A total rounded to the nearest unit widens the solution space for no reason.
    • The list stays in this browser only (localStorage). On a shared computer, use "Reset list" to wipe the grid after use.

    Frequently asked questions

    Are my prices and the amount sent to your servers?
    No. The price list, the amount and the results stay in your browser. No business cookie, network call or server log ever carries this data.
    Why don't two items at the same price appear as separate combinations?
    Because they are indistinguishable from the amount alone. If A and B both cost 10, a combination "3 Γ— 10" is shown once, with the labels grouped (A or B). That is intentional: a cheque cannot tell A apart from B.
    Does the tool allow a small difference (a few cents)?
    No. Only an exact match is kept. Every amount is converted to integer cents before the search, to avoid floating-point rounding errors.
    Why are both comma and point accepted as decimal separators?
    In French locales the decimal separator is often a comma (10,50). Elsewhere it is a point (10.50). Both are normalized before the calculation.
    Why is there a limit of 20 distinct prices?
    The number of combinations grows very quickly with the number of distinct prices. Beyond 20 unique values, the search can take too long. You can still add several rows at the same price: they count as one tariff.
    What does the "Calculation stopped" message mean?
    The engine stops after about 3 seconds if too many combinations are possible. Combinations already found stay on screen. Reduce the number of distinct prices or refine the amount to finish faster.
    Where is my price list stored?
    Only in this browser's localStorage, under a dedicated key. It is reloaded when you open the page and cleared by the "Reset list" button. Nothing is stored on our servers.
    How many combinations are displayed?
    Combinations are sorted by increasing item count, then the first 200 are shown. If more exist, a counter tells you how many are not displayed, without loading them into the page.

    Similar tools

    JSON Formatter

    Format, validate and minify JSON data with syntax highlighting

    Use Tool

    Password Generator

    Create strong, secure passwords with customizable options

    Use Tool

    Cron Expression Tester

    Test and validate cron expressions with execution preview

    Use Tool