# Days until Election Day

Counts the days from today, or any date you choose, to the next Election Day, with its date and day of the week.

- Page: https://www.acalculator.org/days/days-until-election-day
- JSON spec: https://www.acalculator.org/days/days-until-election-day.json
- Version: ae11e3ba1d24

## Default answer

Example with the default inputs (Count from September 29, 2026) on the example date Tuesday, September 29, 2026: From September 29, 2026, there are 35 days until Election Day on Tuesday, November 3, 2026.

## Inputs

| Key | Label | Description |
| --- | --- | --- |
| from | Count from | The date to count from. Today, unless you change it. |

## Outputs

| Key | Label | Description |
| --- | --- | --- |
| days | Days until Election Day | Whole days from the start date to the next Election Day; 0 on the day itself. |
| date | Date | The next date of Election Day on or after the start date. |
| weekday | Day of the week | The weekday of that date. |
| weeks | In weeks | The same number of days in weeks and days. |

## Method

Find the first date of Election Day on or after the start date, then count the days from the start date to it.

## Assumptions

- US federal Election Day is the Tuesday after the first Monday in November, in even-numbered years (2 U.S.C. 7).
- Start dates from January 1, 1900 to December 31, 2400 work, because the date field accepts that range.
- The start date itself is not counted: from the day before, the count is 1; on the day itself, it is 0.
- Dates are calendar days with no time of day, so a time zone or a daylight-saving change never adds or loses a day.

## Worked examples

1. from = 2026-01-01 gives date = 2026-11-03, days = 306. Source: 2 U.S.C. 7 and 3 U.S.C. 1; the rule written again in Python 3 (datetime); docs/progress/WP-43.md.
2. from = 2026-11-04 gives date = 2028-11-07, days = 734. Source: 2 U.S.C. 7 and 3 U.S.C. 1; the rule written again in Python 3 (datetime); docs/progress/WP-43.md.

## FAQ

### When is Election Day 2026?

Election Day 2026 is on Tuesday, November 3, 2026.

### When is Election Day 2028?

Election Day 2028 is on Tuesday, November 7, 2028.

### How is the date of Election Day set?

US federal Election Day is the Tuesday after the first Monday in November, in even-numbered years (2 U.S.C. 7). Source: 2 U.S.C. 7 and 3 U.S.C. 1.

### How are the days until Election Day counted?

From the start date (today, unless you change it) to the date, without counting the start date. The day before, the count is 1; on the day itself, it is 0; the day after, the count moves on to the next Election Day.

## Sources

- 2 U.S.C. 7 and 3 U.S.C. 1; the rule written again in Python 3 (datetime); docs/progress/WP-43.md
