ForHosting KIT · Developer Utilities

Divide money evenly with cents calculator

This divide money evenly calculator turns one amount into exact, cent-based shares for any number of people.

● BetaFree · in your browser
Use it from WebAPIEmailTelegramApp soon

When the total cannot be divided into identical cents, it assigns one leftover cent to each of the earliest people until the remainder is exhausted. Every result shows the base share, the number of leftover cents, and an ordered list of individual amounts. Because the calculation uses whole cents rather than floating-point estimates, the returned shares always add back to the entered total exactly.

Split an amount without losing or inventing a cent

An equal split sounds simple until the amount does not divide cleanly. Divide 10.00 among three people and a rounded calculator may display 3.33 for everyone, which adds to only 9.99. Display 3.34 for everyone and the result becomes 10.02. This calculator avoids both errors by converting the entered amount into whole cents before division. It calculates the largest equal base share that every person can receive, then counts the cents left over. Those cents are real money, not a rounding artifact, so they are assigned individually. The output identifies the base share, reports how many larger and smaller shares exist, and lists every recipient in order. This makes the result suitable for a restaurant reimbursement, a pooled gift, a refund, a prize, or any other situation where the distributed amounts must reconcile with the original total. The method is transparent enough to explain to a group and exact enough to copy into a payment workflow without a later correction.

How leftover cents are assigned

The tie-breaking rule is deterministic: people are numbered from one upward, and the first people receive one extra cent until no remainder remains. For example, when a total leaves two cents after equal division, Person 1 and Person 2 receive the base share plus 0.01, while everyone else receives the base share. No person receives more than one cent above another person, which is the closest possible split for a currency measured in cents. The order does not claim that one recipient deserves more; it simply provides a repeatable answer where mathematically identical shares are impossible. If order matters to your group, choose or randomize the participant order outside the calculator before entering the count, then preserve that order when matching the returned person numbers to names. The calculator itself uses no randomness, so the same amount and people count always produce the same list. You can also rotate who appears first across repeated expenses if you want the occasional extra cents to balance over time.

Enter money precisely and read the result

Enter the amount as a non-negative decimal using a period and no currency symbol, such as 84, 84.5, or 84.50. The calculator accepts up to two decimal places because its smallest unit is one cent. Then enter a whole number of people between one and one thousand. The normalized total is returned with two decimal places, followed by the common base share and the leftover-cent count. A larger share is exactly one cent above the base share; a smaller share equals the base share. The ordered shares array is the authoritative payment list and its values sum exactly to the total. All amounts must be in the same currency, since the calculator labels no currency and performs no exchange-rate conversion. Negative amounts, comma decimal separators, currency signs, fractional people, and values with more than two decimal places are rejected rather than guessed. That strict input rule prevents silent reinterpretation of money and keeps the result auditable in browser use, scripts, expense tools, and API integrations.

Divide a group refund

Turn one refund into exact payments for every participant without leaving an unassigned cent.

Share a pooled purchase

Calculate the closest possible equal contributions when a gift or household purchase does not divide cleanly.

Distribute a prize or donation

Produce a deterministic payout list whose individual amounts reconcile exactly with the available total.

What happens when the amount does not divide evenly?

Each person gets the whole-cent base share, and the first recipients each get one additional cent until the remainder is used.

Will the shares always add to the total?

Yes. The algorithm divides integer cents and assigns every remainder cent, so the listed shares sum exactly to the normalized total.

Why must the amount use a period?

A single explicit decimal format prevents a comma from being mistaken for a thousands separator. Enter the value without a currency symbol.

Can I use currencies with three decimal places?

No. This capability is specifically designed for money divided to the cent and therefore accepts no more than two decimal places.

How much does the API request cost?

Each API request costs $0.002. The same deterministic calculator can also run free in the browser.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/life/divide-money-evenly

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/life/divide-money-evenly \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"amount":"100.00","people":3}'
{
  "amount": "100.00",
  "people": 3
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "life.divide_money_evenly",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Read the full KIT documentation →