{
    "name": "Workday Count Calculator",
    "url": "https://calculators.geekmidst.com/calculators/workday-count-calculator",
    "markdown": "https://calculators.geekmidst.com/calculators/workday-count-calculator.md",
    "category": "Date, time & lifestyle",
    "description": "Count the working days between two dates with your own weekend pattern and the public holidays you enter, plus the working hours they add up to.",
    "summary": "Working days are the calendar days in a range, minus the weekly days off, minus the public holidays that fall on working days. Both the start and end dates are counted.",
    "also_called": [
        "Working days calculator",
        "Business days calculator",
        "Public holiday working days calculator"
    ],
    "applies_to": "Worldwide",
    "last_updated": "2026-10-29",
    "computation": "Results are computed in the visitor’s browser on the HTML page. This API describes the calculator; it does not compute results.",
    "inputs": [
        {
            "name": "start",
            "label": "Start date",
            "type": "date",
            "default": "2026-12-01"
        },
        {
            "name": "end",
            "label": "End date",
            "type": "date",
            "default": "2026-12-31"
        },
        {
            "name": "weekend",
            "label": "Weekly days off",
            "type": "select",
            "default": "sat_sun",
            "options": {
                "sat_sun": "Saturday and Sunday",
                "fri_sat": "Friday and Saturday",
                "sun": "Sunday only",
                "sat": "Saturday only",
                "fri": "Friday only",
                "none": "No weekly days off"
            }
        },
        {
            "name": "holidays",
            "label": "Public holidays (one per line)",
            "type": "textarea",
            "default": "2026-12-25\n2026-12-26",
            "optional": true
        },
        {
            "name": "hours_per_day",
            "label": "Hours per working day",
            "type": "number",
            "default": "8",
            "unit": "h",
            "optional": true
        }
    ],
    "outputs": [
        {
            "key": "working_days",
            "label": "Working days",
            "format": "integer"
        },
        {
            "key": "calendar_days",
            "label": "Calendar days (inclusive)",
            "format": "integer"
        },
        {
            "key": "weekend_days",
            "label": "Weekly days off",
            "format": "integer"
        },
        {
            "key": "holidays_on_workdays",
            "label": "Holidays on working days",
            "format": "integer"
        },
        {
            "key": "holidays_on_days_off",
            "label": "Holidays that fall on days off",
            "format": "integer"
        },
        {
            "key": "working_hours",
            "label": "Working hours",
            "format": "number"
        }
    ],
    "formula": {
        "text": "Working days = Calendar days − Weekly days off − Holidays falling on working days",
        "variables": {
            "Calendar days": "every day from the start date to the end date, both included",
            "Weekly days off": "days matching your weekend pattern",
            "Holidays": "the dates you list; a holiday on a day off is not subtracted twice"
        }
    },
    "worked_example": {
        "inputs": {
            "start": "2026-12-01",
            "end": "2026-12-31",
            "weekend": "sat_sun",
            "holidays": "2026-12-25\n2026-12-26",
            "hours_per_day": "8"
        },
        "steps": [
            "December 2026 has 31 days and starts on a Tuesday, so it has 8 Saturdays and Sundays and 23 weekdays.",
            "25 December is a Friday, so it removes one working day: 23 − 1 = 22.",
            "26 December is a Saturday, already a day off, so it changes nothing.",
            "22 days × 8 hours = 176 working hours."
        ],
        "result": "December 2026 has 22 working days (176 hours at 8 hours a day) with a Saturday–Sunday weekend and holidays on 25 and 26 December."
    },
    "interpretation": "Use the count for project schedules, leave planning and pro-rata pay. If your employer moves a holiday that falls on a weekend to the next working day (a “substitute day”), add that date to the list.",
    "assumptions": [
        "Both the start and the end date are counted.",
        "Only the holidays you enter are excluded; no national calendar is built in."
    ],
    "limitations": [
        "Half-day holidays and shift patterns that change week to week are not modelled."
    ],
    "rules": null,
    "faqs": [
        {
            "question": "Why are public holidays not filled in automatically?",
            "answer": "They differ by country, state, region and sometimes employer, and some are announced each year. Entering them yourself keeps the count right for where you work."
        },
        {
            "question": "Is this the same as Excel’s NETWORKDAYS?",
            "answer": "Yes for a Saturday–Sunday weekend: both dates are included and listed holidays are skipped. Other weekend patterns match NETWORKDAYS.INTL."
        }
    ],
    "sources": [],
    "related": [
        {
            "name": "Business Date Offset Calculator",
            "url": "https://calculators.geekmidst.com/calculators/business-date-offset-calculator"
        },
        {
            "name": "Date Difference Calculator",
            "url": "https://calculators.geekmidst.com/calculators/date-difference-calculator"
        },
        {
            "name": "Payroll Period Date Calculator",
            "url": "https://calculators.geekmidst.com/calculators/payroll-period-date-calculator"
        },
        {
            "name": "Date Calculator",
            "url": "https://calculators.geekmidst.com/calculators/date-calculator"
        },
        {
            "name": "Academic Year Working Days Calculator",
            "url": "https://calculators.geekmidst.com/calculators/academic-year-working-days-calculator"
        }
    ],
    "disclaimer": null,
    "publisher": "GM¹X CalcVerse"
}