Rainy-day fund

Type savings and expenses. 18000 / 3000 gives 6. 10000 / 2500 gives 4. 5000 / 2000 gives 2. A floor, not a 3-6 month rule from a guide.

Not a 3-6 month target. The calculator divides savings by expenses and keeps the floor. A cushion with a gap to a goal lives on emergency fund.

Input data

Results

Enter data and click Calculate.

How it works

Rainy-day fund in this calculator is the floor of savings over expenses when expenses are greater than zero. 18000 / 3000 = 6. The result is 6. 10000 / 2500 gives 4. 5000 / 2000 gives 2. No unit in the number.

The savings field is the numerator. The expenses field is the monthly denominator. 19000 at 3000 also leaves 6, because the code cuts the remainder and does not show 6.33. A guide’s 3-6 months does not enter the formula.

Zero expenses with zero savings leaves 0. Zero expenses with a positive amount does not yield a number. The calculator does not append “months” to the result.

Emergency fund next door divides the same two fields and can keep a remainder: 15000 / 5000 is 3, and 30000 / 4500 is about 6.67. That card also has a goal and a gap. Here only the floor. 3000 at 18000 leaves 6.

Type 18000 and 3000, then Calculate. A comma in 3000.5 parses. A floor-division sketch, not a 3-6 month plan and not inflation.

18000 / 3000 gives 6. 10000 / 2500 gives 4. 5000 / 2000 gives 2. Other expenses at the same savings give another result.

Formula

months = expenses > 0 ? floor(savings / expenses) : (savings === 0 ? 0 : no number)

How to use

  1. Type savings, for example 18000.
  2. Type monthly expenses, for example 3000.
  3. Click Calculate. The result is 6, with no unit.
  4. 10000 and 2500 give 4. 5000 and 2000 give 2.
  5. This is a floor. A guide’s 3-6 months does not count here.

18000 / 3000 = 6

Months = the integer part of (savings / expenses). 18000 at 3000 gives 6. Not a 3-6 guide.

savings
The numerator. 18000 / 3000 shows 6. 10000 at 2500 gives 4.
expenses
The monthly denominator. 2000 at 5000 gives 2. Zero expenses do not divide an amount.
months
The floor of the ratio. Result 6, with no unit in the number.

Examples

Example 1

  • savings 18000
  • expenses 3000

6

How many months from 18000 at 3000 expenses? 6. A floor, not a 3-6 guide.

Example 2

  • savings 10000
  • expenses 2500

4

How many from 10000 at 2500? 4.

Example 3

  • savings 5000
  • expenses 2000

2

How many from 5000 at 2000? 2. Floor, not a fraction.

Related calculators

Common questions

How many months from 18000 at 3000 expenses?

6. 18000 / 3000. A raw result, with no months suffix.

How many from 10000 at 2500?

4. 10000 / 2500.

How many from 5000 at 2000?

2. 5000 / 2000.

Is the result “6 months” in the number?

No. The result is 6. The months label sits aside.

Does the calculator apply a 3-6 month guide?

No. 3-6 is hub advice. The formula is the floor of a divide.

What if expenses do not divide evenly?

The code cuts the remainder. 19000 / 3000 leaves 6, not 6.33.

How is this different from emergency fund?

There, a remainder and a goal with a gap. 15000 / 5000 is 3. Here a floor.

Is 6 a savings plan?

No. A floor-division sketch. A 3-6 guide does not enter here.

Does a comma in 3000.5 work?

Yes. 3000.5 and 3000,5 are the same denominator.

Knowledge sources

The calculator divides savings by expenses and keeps the floor. This is not a 3–6 month rule.

Page updated in 2026.