{
  "version": "v1",
  "source": "https://craftquantities.com",
  "licence": "CC BY 4.0",
  "licenceUrl": "https://creativecommons.org/licenses/by/4.0/",
  "attribution": "Craft Quantities — craftquantities.com",
  "documentation": "https://craftquantities.com/api/",
  "versioning": "Fields are added, never removed or repurposed, within a version. A breaking change becomes /api/v2/ and v1 keeps being built.",
  "slug": "working-days-finish-calculator",
  "category": "financial-adjacent",
  "title": "Working Days to Finish Calculator",
  "description": "Count the calendar days from a start day to the end of a set number of working days, on a five, six or seven-day week, with any holidays between.",
  "url": "https://craftquantities.com/calculators/financial-adjacent/working-days-finish-calculator/",
  "json": "https://craftquantities.com/api/v1/calculators/working-days-finish-calculator.json",
  "inputCount": 4,
  "testCaseCount": 8,
  "sourceCount": 1,
  "lastVerified": "2026-09-22",
  "citation": {
    "author": "Craft Quantities",
    "title": "Working Days to Finish Calculator",
    "version": "1.0.0",
    "sourcesChecked": "2026-09-22",
    "url": "https://craftquantities.com/calculators/financial-adjacent/working-days-finish-calculator/",
    "accessDate": null,
    "accessDateNote": "Add the date you retrieved this. It is deliberately absent: a static file cannot know when you read it, and the build date would be wrong.",
    "permanentVersionedUrl": null,
    "permanentVersionedUrlNote": "Not offered. This site keeps no archive of previous builds, so any such URL would resolve to the current page or to nothing. The version and sourcesChecked fields identify the calculation instead.",
    "formats": {
      "plain": "Craft Quantities. Working Days to Finish Calculator. Version 1.0.0. Sources checked 2026-09-22. https://craftquantities.com/calculators/financial-adjacent/working-days-finish-calculator/",
      "apa": "Craft Quantities. (2026). Working Days to Finish Calculator (Version 1.0.0) [Web calculator]. Retrieved from https://craftquantities.com/calculators/financial-adjacent/working-days-finish-calculator/",
      "harvard": "Craft Quantities (2026) Working Days to Finish Calculator (Version 1.0.0). Available at: https://craftquantities.com/calculators/financial-adjacent/working-days-finish-calculator/",
      "bibtex": "@misc{craftquantities-calculators-financial-adjacent-working-days-finish-calculator,\n  author       = {{Craft Quantities}},\n  title        = {Working Days to Finish Calculator},\n  version      = {1.0.0},\n  year         = {2026},\n  howpublished = {\\url{https://craftquantities.com/calculators/financial-adjacent/working-days-finish-calculator/}},\n}"
    }
  },
  "inputs": [
    {
      "id": "startDay",
      "label": "Day the Work Starts",
      "type": "select",
      "defaultValue": "1",
      "options": [
        {
          "value": "1",
          "label": "Monday"
        },
        {
          "value": "2",
          "label": "Tuesday"
        },
        {
          "value": "3",
          "label": "Wednesday"
        },
        {
          "value": "4",
          "label": "Thursday"
        },
        {
          "value": "5",
          "label": "Friday"
        },
        {
          "value": "6",
          "label": "Saturday"
        },
        {
          "value": "0",
          "label": "Sunday"
        }
      ],
      "help": "The weekday of the first day on site."
    },
    {
      "id": "pattern",
      "label": "Working Week",
      "type": "select",
      "defaultValue": "mon-fri",
      "options": [
        {
          "value": "mon-fri",
          "label": "Monday to Friday"
        },
        {
          "value": "mon-sat",
          "label": "Monday to Saturday"
        },
        {
          "value": "every-day",
          "label": "Every day"
        }
      ],
      "help": "Which days of the week the site works."
    },
    {
      "id": "workingDays",
      "label": "Working Days Needed",
      "type": "number",
      "defaultValue": 20,
      "min": 1,
      "max": 3000,
      "step": 1,
      "help": "The duration in working days, from the programme or a duration calculator."
    },
    {
      "id": "holidays",
      "label": "Holidays Falling on Working Days",
      "type": "number",
      "defaultValue": 1,
      "min": 0,
      "max": 200,
      "step": 1,
      "help": "Public holidays and shutdown days inside the period that would otherwise have been worked."
    }
  ],
  "sources": [
    {
      "label": "Calendar counting as programmes use it: each calendar day from the start is counted, a day counts as worked only if it falls in the working week, and the finish is the day on which the required working days — plus any holidays that fall on working days — have been worked"
    }
  ],
  "testCases": [
    {
      "name": "The defaults: 20 working days and a holiday from a Monday",
      "inputs": {
        "startDay": "1",
        "pattern": "mon-fri",
        "workingDays": 20,
        "holidays": 1
      },
      "expected": 29,
      "toleranceDecimalPlaces": 0,
      "unit": "days",
      "confidence": "high",
      "steps": [
        {
          "label": "Working days, holidays included",
          "value": 21,
          "unit": "days"
        },
        {
          "label": "Days not worked in between — weekends, rest days and holidays",
          "value": 9,
          "unit": "days"
        },
        {
          "label": "Calendar weeks",
          "value": 4.142857142857143,
          "unit": "weeks"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "Ten working days from a Wednesday",
      "inputs": {
        "startDay": "3",
        "pattern": "mon-fri",
        "workingDays": 10,
        "holidays": 0
      },
      "expected": 14,
      "toleranceDecimalPlaces": 0,
      "unit": "days",
      "confidence": "high",
      "steps": [
        {
          "label": "Working days, holidays included",
          "value": 10,
          "unit": "days"
        },
        {
          "label": "Days not worked in between — weekends, rest days and holidays",
          "value": 4,
          "unit": "days"
        },
        {
          "label": "Calendar weeks",
          "value": 2,
          "unit": "weeks"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "A Saturday start waits for Monday",
      "inputs": {
        "startDay": "6",
        "pattern": "mon-fri",
        "workingDays": 5,
        "holidays": 0
      },
      "expected": 7,
      "toleranceDecimalPlaces": 0,
      "unit": "days",
      "confidence": "high",
      "steps": [
        {
          "label": "Working days, holidays included",
          "value": 5,
          "unit": "days"
        },
        {
          "label": "Days not worked in between — weekends, rest days and holidays",
          "value": 2,
          "unit": "days"
        },
        {
          "label": "Calendar weeks",
          "value": 1,
          "unit": "weeks"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "A six-day week",
      "inputs": {
        "startDay": "1",
        "pattern": "mon-sat",
        "workingDays": 30,
        "holidays": 2
      },
      "expected": 37,
      "toleranceDecimalPlaces": 0,
      "unit": "days",
      "confidence": "high",
      "steps": [
        {
          "label": "Working days, holidays included",
          "value": 32,
          "unit": "days"
        },
        {
          "label": "Days not worked in between — weekends, rest days and holidays",
          "value": 7,
          "unit": "days"
        },
        {
          "label": "Calendar weeks",
          "value": 5.285714285714286,
          "unit": "weeks"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "Every day, from a Friday",
      "inputs": {
        "startDay": "5",
        "pattern": "every-day",
        "workingDays": 14,
        "holidays": 0
      },
      "expected": 14,
      "toleranceDecimalPlaces": 0,
      "unit": "days",
      "confidence": "high",
      "steps": [
        {
          "label": "Working days, holidays included",
          "value": 14,
          "unit": "days"
        },
        {
          "label": "Days not worked in between — weekends, rest days and holidays",
          "value": 0,
          "unit": "days"
        },
        {
          "label": "Calendar weeks",
          "value": 2,
          "unit": "weeks"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "A Tuesday start",
      "inputs": {
        "startDay": "2",
        "pattern": "mon-fri",
        "workingDays": 1,
        "holidays": 0
      },
      "expected": 1,
      "toleranceDecimalPlaces": 0,
      "unit": "days",
      "confidence": "high",
      "steps": [
        {
          "label": "Working days, holidays included",
          "value": 1,
          "unit": "days"
        },
        {
          "label": "Days not worked in between — weekends, rest days and holidays",
          "value": 0,
          "unit": "days"
        },
        {
          "label": "Calendar weeks",
          "value": 0.14285714285714285,
          "unit": "weeks"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "A Thursday start runs over the weekend",
      "inputs": {
        "startDay": "4",
        "pattern": "mon-fri",
        "workingDays": 3,
        "holidays": 0
      },
      "expected": 5,
      "toleranceDecimalPlaces": 0,
      "unit": "days",
      "confidence": "high",
      "steps": [
        {
          "label": "Working days, holidays included",
          "value": 3,
          "unit": "days"
        },
        {
          "label": "Days not worked in between — weekends, rest days and holidays",
          "value": 2,
          "unit": "days"
        },
        {
          "label": "Calendar weeks",
          "value": 0.7142857142857143,
          "unit": "weeks"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    },
    {
      "name": "A Sunday start",
      "inputs": {
        "startDay": "0",
        "pattern": "mon-sat",
        "workingDays": 6,
        "holidays": 0
      },
      "expected": 7,
      "toleranceDecimalPlaces": 0,
      "unit": "days",
      "confidence": "high",
      "steps": [
        {
          "label": "Working days, holidays included",
          "value": 6,
          "unit": "days"
        },
        {
          "label": "Days not worked in between — weekends, rest days and holidays",
          "value": 1,
          "unit": "days"
        },
        {
          "label": "Calendar weeks",
          "value": 1,
          "unit": "weeks"
        }
      ],
      "basis": "cited",
      "sourceIndex": 0
    }
  ]
}
