The Rule of Thirds, and When to Break It

Most beginners put their subject dead centre. It's natural: that's where the camera's focus point starts, and it feels "correct." The result is often a photo that's technically fine and emotionally flat, like a passport picture of a sunset.
The rule
Imagine two horizontal and two vertical lines dividing your frame into nine equal boxes. Place important things along those lines or where they cross.

- Put the horizon on the top or bottom third line, not through the middle.
- Put a person's eyes on the upper third line.
- Put your main subject on one of the four intersections.
Most phone cameras can show this grid. Turn it on. On iPhone it's under Camera settings; on Android it's usually in the camera app's settings. It's the single cheapest composition upgrade there is.
Why it works
An off-centre subject creates tension and movement. The eye travels across the frame instead of landing in the middle and stopping. It also leaves space, which tells a story: space in front of a running dog suggests where it's going; space above a lonely boat suggests how big the sea is.
Its fancier cousin

Some photographers use golden-ratio lines (at roughly 38% and 62% instead of 33% and 67%). In practice, the difference is small; the thirds grid is a perfectly good approximation. Don't let anyone sell you a golden-ratio course.
When to break it
Symmetry. Buildings, bridges, reflections in still water, mosques and temples photographed straight on. Symmetry is powerful precisely because it's centred. Commit fully: if it's almost centred, it just looks like a mistake.
Strong central subject with nothing else. A close-up portrait staring straight at the camera can be intensely confrontational when centred. That's sometimes exactly the point.
Minimalism. A tiny subject in a huge empty frame can sit anywhere, as long as the placement feels intentional.
Patterns. Rows of identical things (windows, chairs, rickshaws parked in a line) can fill the frame edge to edge with no "subject" at all.
A practice exercise
Pick one subject (a cup, a tree, your friend who's tired of being photographed). Take five photos: subject centred, on the left third, on the right third, high, and low. Compare them side by side. You'll quickly feel which placement tells the story you want.
The real rule
The rule of thirds isn't a law. It's training wheels for an instinct. Once you understand why off-centre feels dynamic and centred feels static, you get to choose. And a deliberate choice, even a rule-breaking one, almost always beats a default.