Math Tic Tac Toe: 3 Ways to Play It, in Class or at Home

Updated 2026-11-17

Math tic tac toe is regular tic tac toe with a number rule added. You will find three versions under that name. One is a classroom practice game, one is a number puzzle with a neat trick, and one is a free online race. All three work for two players and need nothing but a grid.

Version 1: Solve to claim a square

This is the one teachers use. Each square holds a math question, and you may only mark a square if you answer it correctly.

Setup. Draw a 3 by 3 grid. Write a problem in each square, such as 6 x 7, 48 / 6 or 15 + 28. Pick a level that suits the players.

How to play.

  1. Players are X and O and take turns.
  2. On your turn, choose a square and say the answer.
  3. If the opponent (or a teacher) agrees, you mark the square. If you are wrong, you lose the turn.
  4. First to get three in a row wins.

Tips. Choose a question you know to take a square you need, and leave the hard ones to block. A square in the centre matters, since it sits on four lines. Our tic tac toe strategy guide explains why.

To make it harder, write the problems on cards and shuffle them onto the grid so nobody knows where the easy ones are. For a fast version, have each player write their answer, then compare.

Version 2: The number game (a sum of 15)

Here, the squares are the numbers 1 to 9. Players take turns choosing a number, and no number can be picked twice. The first player to hold three numbers that add up to 15 wins.

For example, you hold 2, 6 and 7 and win, since 2 + 6 + 7 = 15.

This looks like a new game, but it is tic tac toe in disguise. Arrange the numbers like this:

2 7 6
9 5 1
4 3 8

Every row, column and diagonal adds to 15, and these are the only triples from 1 to 9 that do. So choosing a number is the same as placing a mark on this grid. If you memorise the grid, you can play the number game as ordinary tic tac toe in your head and use the same fork strategy. The number 5, the middle of the grid, is the best first pick.

Version 3: Race with maths online

If you want practice with speed, play Math Duel - 2 Players. Two people share one screen, a question appears, and the faster correct answer wins the point. It covers adding, subtracting, multiplying and dividing, with three difficulty options. Player 1 uses A, S and D, and Player 2 uses J, K and L, so you sit side by side on one keyboard. Check the in-game instructions for how the answers appear.

It is not tic tac toe, but it works as a warm-up before the paper game.

Play the plain game online

For the grid itself, try Tic Tac Toe 2 Player, which has 5 by 5 and 7 by 7 boards. Tic Tac Toe: Paper Note has a school-notebook look and uses the left mouse button for everything. Tic Tac Toe Pro offers 3 by 3, 4 by 4 and 5 by 5.

Using it in class

  • Print one grid per pair and use a new set of problems each time.
  • Match the problems to what you are teaching: times tables, fractions, negative numbers.
  • Let students write the problems for each other. Writing a good question is harder than answering one.

More paper games are in pen and paper games.

FAQ

How do you play math tic tac toe?
Put a math problem in each square of a 3 by 3 grid. You claim a square by answering its problem correctly. Three in a row wins.
What is the 15 game in tic tac toe?
Players take turns picking numbers from 1 to 9. The first to hold three numbers that sum to 15 wins. It is tic tac toe on a magic square.
Can I play math tic tac toe online?
There is a free math race for two, Math Duel - 2 Players. For the grid game, use Tic Tac Toe 2 Player and add your own question rule.
What do I need to play in class?
A printed 3 by 3 grid with a problem in each square, and two colours of pen or two marks.
Which grid makes the 15 game easy?
The magic square 2 7 6 / 9 5 1 / 4 3 8. Every line adds up to 15.

Play now

← All guides