ManaWGOpen the appSplit a bill by days
If you move in, move out or sublet a room in the middle of a billing period, you lived there for only part of the days. Enter the amount of the bill, the period and each person’s first and last day below. The calculator counts the days and splits the bill in proportion, exact to the cent. No account is needed.
By Abubakar Abditube (ManaWG) · Published · Updated
Calculator
Enter the amount of the bill, the period it covers (for example a billing year) and, for each person, the first and the last day they lived there. An empty date means the start or the end of the period. It works for 2 to 16 people and periods of up to 3,660 days, and calculates in euros. The pre-filled values are an example. What you enter stays in your browser and is neither stored nor sent anywhere.
Period: 365 days
Share per person
| Person | Days | Share |
|---|---|---|
| Anna | 365 | €617.28 |
| Ben | 151 | €255.37 |
| Cem | 214 | €361.91 |
| Total | 730 | €1,234.56 |
Leftover cents go to the largest fractional parts; on a tie, to the person higher in the list.
How it is calculated
- The amount is converted to whole cents, so there are no rounding errors.
- For each person, the days they lived there within the period are counted. The first and the last day both count: 1 to 31 May is 31 days, and “from” and “to” on the same day is 1 day. Days outside the period do not count.
- A person’s share is the amount times their days, divided by the total days of everyone in the list. Someone who lived there twice as long pays twice as much.
- The calendar is right: a leap year has 366 days, 29 February counts only in a leap year and summer time does not shift a day.
- Each share is rounded down to whole cents. The cents left over go one each to the people with the largest fractional parts (the largest remainder method); on a tie, to the person higher in the list. So the shares always add up to exactly the bill, and no share is a cent or more away from the exact value.
Move-in and move-out days
Both days at the edges count. If one person moves out on 31 May and the next moves in on 1 June, every day belongs to exactly one person. If the next person moves in on 31 May already, that day counts for both and the bill is spread over one more person-day. So enter as the last day the day the person still lives there, and as the first day the day they move in. If a handover day should count only once, give it to just one of the two people. Which days you count is for your flat to agree; the calculator only follows this rule.
Example: an electricity bill with a move-out and a move-in
The electricity bill for 2026 is €1,234.56. Anna lives there all year (365 days), Ben moves out on 31 May (151 days) and Cem moves in on 1 June (214 days). That makes 730 person-days, so one day costs about €1.691 per person. Rounding down leaves one cent over, which goes to Ben because their remainder is the largest. After that, the shares add up to exactly €1,234.56.
Example: a €1,234.56 electricity bill for 2026 split by days
| Person | Days | Share |
|---|---|---|
| Anna | 365 | €617.28 |
| Ben | 151 | €255.37 |
| Cem | 214 | €361.91 |
| Total | 730 | €1,234.56 |
Anna lives there from 1 January to 31 December, Ben until 31 May, Cem from 1 June.
Which bills it suits
The calculator suits costs that affect everyone equally for as long as they live there: electricity, internet, streaming, the Rundfunkbeitrag (broadcasting fee) or a back payment from the utilities statement. What is usual in a flat share is covered in utilities in a flat share, which counts in months. For a sublet, see subletting a room; for moving out, the moving-out checklist; for moving in, the moving-in checklist. Rent by room size is split by the rent split calculator.
What the calculator does not do
It spreads the whole bill over the person-days you enter. Days on which nobody is entered are therefore not carried by one person alone; they are spread over everyone. It does not know consumption per person, unequal weights or currencies other than euros. It replaces neither the landlord’s statement nor legal advice.
Enter the result in ManaWG
ManaWG does not split costs by days. Create the expense in the shared expenses, choose “Manually” under “People involved and split” and enter each person’s amount from the calculator. ManaWG shows whether the shares add up to the expense. ManaWG does not move any money itself: you pay by bank transfer, in cash or however you like and mark the settlement as paid.
Open source
ManaWG is open source under Apache-2.0, and the source code is on GitHub.
Frequently asked questions
Do the move-in day and the move-out day count?
Yes, both. The calculator counts days inclusively: 1 to 31 May is 31 days, and “from” and “to” on the same day is 1 day. If one person moves out on the day the next moves in, that day counts for both, unless you give it to only one of them.
Is the calculator right in a leap year?
Yes. The period from 1 January to 31 December has 366 days in 2024 and 365 in 2026. From 28 February to 1 March it is 3 days in 2024 and 2 in 2025.
Who gets the leftover cent?
The person with the largest fractional part of their exact share; on a tie, the one higher in the list. Anyone with no day in the period never gets a cent. The shares always add up to exactly the bill.
What about days when nobody lives in the room?
The calculator spreads the whole bill over the person-days you enter. Empty days are therefore not carried by one person alone; they are spread over everyone. If you want to handle them differently, take the amount for the empty days out of the bill first.
Is what I enter stored?
No. The calculation runs in your browser and nothing is sent or stored. If you reload the page, the entries are gone.
Can ManaWG split costs by days?
No. In ManaWG you split an expense equally or enter an individual amount for each person. You copy the amounts from the calculator by hand.
Your flat, in one place.
Free, no ads, in the browser.