Gaps in a teacher's timetable — what they are and how to avoid them

An empty period between two class periods taught by the same teacher may seem minor, but it costs money and wears staff down. See why it happens, how to reduce it in practice and why an optimization engine works better than trial and error.

Try without signing up for up to 8 classes · free account up to 15 classes · no card required · results in seconds

Quick answer

A gap in a teacher's timetable is an empty period between two of their class periods in the same shift — they have already arrived at school but have no class for one or more periods. To reduce gaps, build the timetable starting with each teacher's constraints (days and shifts when they can teach) and group their class periods into continuous blocks instead of spreading them across the week. When a school has many shared teachers, doing this manually through trial and error is slow and almost always leaves gaps — this is where an optimization engine, like the one used by Skedavo's timetable generator, works better, because it tests thousands of combinations and selects the one that minimizes gaps.

What a teacher gap is (and what a gap in the class timetable is)

A teacher gap is an empty period between two class periods taught by the same teacher on the same day and shift. In practice: the teacher teaches during the 1st period, is free during the 2nd and teaches again during the 3rd. That 2nd period is the gap.

A “gap in the class timetable” is the same problem from the class's perspective: a slot where no class period has been assigned. The two go together — when you move a teacher's class period to fill a class's gap, you often create a gap in the teacher's timetable elsewhere in the week. This domino effect is what makes manual timetabling take so long, and it is closely related to a school timetable clash — when the same teacher or room ends up in two places at once.

Why gaps cost money: under most contracts, a gap is time at the school's disposal — paid time when the teacher is on site but has no class. Reducing gaps is not just about teacher comfort; it is about cost efficiency. A school with several shared teachers may have dozens of gaps scattered throughout the timetable, and each one is paid time. (Always check your category's collective bargaining agreement.)

Why gaps happen

Gaps are almost never the timetable builder's oversight — they result from competing constraints. The three most common causes:

🕗 Limited teacher availability

They only teach in the morning, or only three days a week. The narrower the availability window, the harder it is to fit class periods together without empty slots.

🚗 Teacher at two schools

The classic and most expensive case (see how to handle the multi-school teacher). They need to leave in time to reach the other school — so some days and periods are blocked, and travel time becomes a hard constraint you cannot ignore.

🧩 Class periods that do not fit into blocks

A subject with few weekly class periods tends to be scattered across the timetable unless you place it deliberately — and each isolated class period a teacher has can create a gap.

When these constraints overlap — and in a real school they always do — fitting everything in without gaps becomes a combinatorial puzzle. Moving one piece dislodges another. It is no coincidence that the same pressure brings each teacher's workload and non-teaching time into the picture: time outside the classroom needs to fit into the timetable just as class periods do.

How to reduce gaps in practice

You can reduce them substantially by hand if you follow the right order. The golden rule: start with the tightest constraints, not the most important subject.

1

Place the most constrained teachers first

Start with teachers who work at two schools and those with limited availability. They have fewer possible slots in the timetable — so it is easier to place them first and fit the rest around them. Leaving a constrained teacher until last forces you to dismantle half the timetable to fit them in.

2

Group class periods into continuous blocks

For each teacher, place class periods consecutively within the same shift: 1st, 2nd and 3rd periods, rather than 1st, 3rd and 5th. Continuous block = zero gaps for that teacher on that day; double periods are the most direct way to do it. This single change has the greatest impact on reducing gaps.

3

Concentrate shared teachers' working days

If a teacher teaches few class periods at your school, concentrate them into fewer days. Two full days are better than four days with two class periods and a gap on each. Fewer days at school mean less chance of gaps.

4

Review class by class and teacher by teacher

After building the timetable, review it twice: once by class (looking for gaps in the class timetable) and once by teacher (looking for gaps between their class periods). These are different views of the same timetable, and each reveals a problem the other hides.

These techniques have a clear limit: they work, but each manual adjustment can reopen a problem elsewhere. In a small school, they are manageable. In a medium-sized school with 15 shared teachers, you can spend days going in circles — the same reason spreadsheets stall as a school grows. This entire process is covered in the complete guide to building a school timetable.

Why AI works better than trial and error

Reducing gaps is ultimately a constrained optimization problem: there are thousands of possible combinations of class periods in the timetable, and you want the one that respects every constraint (availability, travel, rooms) while leaving as few gaps as possible. By hand, you test a few dozen combinations and stop at the first one that “works”. An optimization engine tests a much larger number and seeks the best one, rather than just the first workable option.

That is what Skedavo's timetable generator does: you enter each teacher's constraints — including those who work at two schools — and the solver builds the timetable seeking to minimize teacher and class gaps, without you moving each piece. And when a teacher's situation changes, instead of rebuilding everything, you regenerate only the affected parts.

Generate my timetable free — with fewer gaps and no signup: open Skedavo's AI timetable generator →, enter your teachers and classes and see the timetable built in your browser. Try without signing up for up to 8 classes · free account up to 15 classes · no card required; you only create an account if you want to save the timetable, edit it later and print it.

Frequently asked questions

What is a gap in a teacher's timetable?

It is an empty period between two class periods taught by the same teacher on the same day and shift. They teach, have no class for one or more periods, and then teach again — that idle interval is the gap.

Does a gap count as working time?

Generally, yes. Under most contracts, a gap is time at the school's disposal: the teacher is on site and available, so it is usually paid time. That is why reducing gaps also reduces costs. Always check your category's collective bargaining agreement.

How can you reduce gaps in a school timetable?

Build the timetable starting with the most constrained teachers (limited availability and those who teach at two schools), group each teacher's class periods into continuous blocks in the same shift and concentrate shared teachers' working days. Then review the timetable by class and by teacher.

How do you build a timetable for a teacher who works at two schools?

Start the timetable with that teacher. First block out the days and periods when they can be at your school — allowing for travel time to the other school — and fit their class periods into a block. Only then fit the other teachers around them. Leaving them until last forces you to dismantle the entire timetable.

Why does reducing gaps save the school money?

Because a gap is usually paid time at the school's disposal without a class in front of the teacher. Every gap eliminated converts paid time into actual teaching or a shorter working day — while also improving teacher satisfaction and retention.

Fewer gaps, without days going in circles

Create your free account, describe your teachers' constraints in Portuguese and watch the optimization engine build a timetable seeking the fewest possible gaps — right in front of you.

Generate my timetable free

No card required · account in 2 minutes · made in Brazil · LGPD

Three different problems, each with its own guide: timetable clashes (a teacher, room or class in two places at once), teaching load and the one-third planning time that Brazilian law sets for public-school teachers, and the Excel timetable, which stalls as the school grows.

Class limits and what each plan includes are on the Skedavo pricing page. The generator itself is at generate the timetable.

Build my timetable free — no card