Business Days Calculator and API (Working Days by Country, Region, and Holidays)

Calculate business days (working days) by country and region with public holidays included. Use our online calculator or integrate via API.

Business days calculator (by country and holidays)

If you’ve ever tried to calculate business days between two dates, you already know it’s not as simple as it sounds.

Weekends differ by country.
Public holidays vary by region.
And “working days” often don’t follow a standard Monday–Friday pattern.

That’s why we built a business days calculator that handles all of this for you.

With it, you can:

  • calculate business days between any two dates
  • include public holidays by country
  • narrow results to a specific region or subdivision
  • define your own working days (e.g. Sunday–Thursday)

This makes it useful for:

  • payroll and HR calculations
  • SLA and contract timelines
  • delivery and shipping estimates
  • project planning across multiple countries

Instead of maintaining spreadsheets or hardcoding logic, you get a reliable answer instantly.


Business days API (for developers)

If you need to calculate working days programmatically, you can use our:

GET /api/business-days

This endpoint provides a business days API that supports:

  • country-based holiday calendars
  • regional (subdivision-level) holidays
  • custom working weekdays
  • accurate working day counts for any date range

Typical use cases:

  • SaaS products handling global users
  • HR and payroll systems
  • logistics and delivery platforms
  • compliance and scheduling tools

Full documentation:


Why business day calculations are hard

Most “working days calculators” break down when you go beyond simple cases.

Common issues:

  • ignoring regional holidays
  • assuming Monday–Friday workweeks
  • outdated or incomplete holiday data
  • inconsistent results across countries

If you’re building a product, these edge cases become real bugs.

Using a dedicated business days API with holiday support ensures:

  • consistent results across markets
  • up-to-date public holiday data
  • no need to maintain custom logic

Online calculator or API — same results

Both the business days calculator and the API use the same underlying data and logic.

That means:

  • what you see in the calculator = what your API returns
  • no discrepancies between manual checks and production
  • easy validation during development

Start calculating business days

Stop maintaining calendar logic and start using accurate, country-aware working day calculations.