Gantt Block Duration Calculator (Simple)
Calculate a Gantt task block duration
Enter a start and end date-time. Optionally apply simple working-hours rules to estimate the planned duration used in many Gantt charts.
Gantt block duration calculator for task planning in working hours
A common problem in project planning is turning a start and end time into a duration that matches how your Gantt chart behaves. If you simply subtract date-times, you get elapsed time, which includes nights, weekends, and any non-working periods. Most project plans do not treat those hours as productive. This calculator focuses on one job: estimating the duration of a single task block the way many teams plan it, using a simple working-hours schedule.
Use it when you have a task start and end date-time and you want a clear, consistent duration to place on a Gantt timeline. You can choose between elapsed duration and working duration. Elapsed duration answers, “How much clock time passes between the two moments?” Working duration answers, “How many working hours are available between those two moments, given a basic workday window and optional weekend handling?”
The default path is fast. Enter start date, start time, end date, and end time, then calculate. If you leave working time off, the calculator returns the elapsed hours and a readable breakdown so you can sanity-check it quickly. If you enable working time, the calculator switches to a planning-friendly approach: it counts only minutes that fall inside a daily work window (for example 09:00 to 17:00) and it can exclude weekends by default, which matches many office schedules.
The results are designed for decision-making rather than showing a single number. You get total hours, an estimated number of workdays based on your hours-per-day setting, and a days-hours-minutes breakdown. That combination helps you align what the plan says (for example “2.5 days”) with what the team experiences (for example “20 working hours”) and reduces argument later when timelines slip.
This is intentionally a “simple” Gantt block calculator. It does not try to model resource calendars, partial-day holidays, task dependencies, lag, lead, critical path, or earned value. If you need those, you are not looking for a block-duration calculator. You are looking for scheduling software rules. This page stays focused on one block and one decision: what duration should be recorded for the task given a basic working schedule.
To improve accuracy for planning, turn on working time and set your workday start and end to match your organisation’s standard hours. If your team uses a different definition of a “day” than the work window suggests, you can override hours per day. That override changes only the “workdays” conversion, not the counted working minutes. This keeps the raw time calculation grounded while letting you present results in the unit your team uses in status meetings.
If you are unsure whether to use elapsed or working duration, think about how your Gantt chart will be interpreted. If you are mapping a real-world calendar event, elapsed time is often correct. If you are estimating task effort and schedule capacity, working duration is usually the better choice. This calculator supports both, but it does not blend them. Mixing the concepts is a reliable way to produce plans that look plausible and then fail in execution.
Assumptions and how to use this calculator
- The start date-time must be earlier than the end date-time; reversed inputs are treated as an error.
- If “Count working time only” is enabled, only minutes inside the workday window are counted toward working duration.
- By default, weekends (Saturday and Sunday) are excluded from working duration unless you explicitly include them.
- “Hours per workday” affects only the conversion from working hours to “workdays”; it does not change the counted working minutes.
- This calculator does not account for public holidays, individual leave, shift rotations, or resource-specific calendars.
Common questions
Why does my duration look too large when I include nights and weekends?
Because elapsed time counts every hour between the timestamps, including non-working periods. For Gantt planning, that often overstates available work time. Enable “Count working time only” if you want a duration that better matches planned capacity.
What happens if my start time is outside working hours?
With working time enabled, time outside the work window is not counted. If the start is before the workday starts, counting begins at the workday start. If the start is after the workday ends, counting begins at the next working window.
Should I include weekends?
Only if your team genuinely works weekends for this task. Many plans fail because weekends are silently assumed as working time. If weekend work is not guaranteed, leave weekends excluded and treat any weekend work as schedule buffer, not baseline capacity.
What does “workdays” mean in the results?
It is a conversion of working hours into a day-based unit using your hours-per-day value. It is a reporting convenience for Gantt labels and status updates. The more reliable number is the working hours total, especially when workdays vary.
When is this calculator not appropriate?
If you need to model holidays, custom calendars by person, multi-shift operations, dependencies, or leveling, this is not the right tool. Those needs require a scheduling engine. This calculator is for one block duration under a simple, consistent working-hours rule.