Days Until New Year Calculator
Count down the days remaining until 1 January.
Formula and sources updated · Data sources · 1View algorithm, constants and default inputs (JSON)
About this calculator
The countdown runs from today to 1 January. Choose whether today is included; weekends count complete Saturday–Sunday pairs in the remaining date range instead of estimating them as days divided by seven.
Worked example
calculated with the default values below
Include today in the count No Days until New Year 62 days · Weeks remaining 9 weeks · Full weekends remaining 8.0 weekends · Days left in the year 62 days
Method and assumptions
D = (Jan 1(Y+1) − today) ÷ 86400000 + e Weeks = D÷7; complete weekends counts full Saturday–Sunday pairs in the selected remaining range; “days left in year” follows the include-today setting. The countdown runs from today to 1 January. Choose whether today is included; weekends count complete Saturday–Sunday pairs in the remaining date range instead of estimating them as days divided by seven. The references explain definitions and methods; any extra preset must be checked against the assumptions on this page.
Data sources
The references explain definitions and methods; any extra preset must be checked against the assumptions on this page.
Disclaimer
These calculators give general date results. Public holidays, working-day conventions and time-zone rules are set locally and change, so confirm against the official calendar for anything legally or contractually binding.
Implementation source
This record describes the implementation used by this page. It is not independent validation. External references, when available, support only the stated formula or definition; estimates and custom rules retain their own assumptions.
Formula and variables
D = (Jan 1(Y+1) − today) ÷ 86400000 + e
- Y
- Current calendar year
- D
- Days left in year
- e
- Include-today flag (0/1)
Weeks = D÷7; complete weekends counts full Saturday–Sunday pairs in the selected remaining range; “days left in year” follows the include-today setting.
Frequently asked questions
Why does the New Year count express weekends as days divided by seven?
The weekend output counts complete Saturday–Sunday pairs from the start of the remaining date range to 1 January. Including today changes that range and can change the count. “Days left in the year” follows the same include-today setting.
Which inputs and limits apply to Days Until New Year Calculator?
Use the units shown beside each field. These are form limits, not recommended settings. D = (Jan 1(Y+1) − today) ÷ 86400000 + e Weeks = D÷7; complete weekends counts full Saturday–Sunday pairs in the selected remaining range; “days left in year” follows the include-today setting. The countdown runs from today to 1 January. Choose whether today is included; weekends count complete Saturday–Sunday pairs in the remaining date range instead of estimating them as days divided by seven. The references explain definitions and methods; any extra preset must be checked against the assumptions on this page.
What is a complete worked example for Include today in the count = No?
Inputs: Include today in the count = No. Calculation: D = (Jan 1(Y+1) − today) ÷ 86400000 + e. Results: Days until New Year = 81 days; Weeks remaining = 12 weeks; Full weekends remaining = 11.0 weekends; Days left in the year = 81 days. Reference date: 2026-10-12 (UTC).