Quarter of Year Calculator

Determine which fiscal/calendar quarter a date falls in

Ad placeholder (leaderboard)

The quarter of year calculator tells you which three-month quarter a date belongs to — either the standard calendar quarter or a fiscal quarter aligned to a custom year-start month. It is useful for reporting, accounting, planning, and tagging records by period.

How it works

A year has twelve months grouped into four quarters of three months each. For calendar quarters, the quarter is computed directly from the month: with months numbered 0–11, the quarter is floor(month / 3) + 1. That gives Q1 = Jan–Mar, Q2 = Apr–Jun, Q3 = Jul–Sep, Q4 = Oct–Dec.

For a fiscal year that starts in a month other than January, the tool first shifts the month so the fiscal start becomes month 0:

shifted = (month - fiscalStartMonth + 12) % 12
fiscalQuarter = floor(shifted / 3) + 1

It then computes the first and last calendar dates of that quarter, which may roll into the next calendar year when the fiscal year does not start in January.

Example

With a fiscal year starting in April:

  • April, May, June → fiscal Q1
  • July, August, September → fiscal Q2
  • A date in February falls in fiscal Q4, and that quarter’s range runs January–March of the following calendar year.

All arithmetic is local to your browser — nothing is sent anywhere.

Ad placeholder (rectangle)