Kishimoto, as usual, does not know how to give dates. Sasuke was officially 7 years old at the massacre. But he was about to turn 8, maybe only by days. Because Itachi was 14. Itachi is barely 5 years older than Sasuke, so we can say he just turned 14 and Sasuke was about to turn 8.