Murder by Numbers is a 2002 psychological thriller film directed by Barbet Schroeder.
It is quite loosely based on the Leopold and Loeb case, the Columbine High School massacre, and the Dartmouth Murders.
This story also could have been loosely based on the July 12, 1994 murder of a family in Washington. Dr. Tariq Rafay, his wife Sultana and their daughter Basma were viciously bludgeoned in their home in the quiet suburb of Bellevue, Washington. Atif Rafay, the son of Tariq and Sultana, and a close friend, Sebastian Burns, were eventually convicted of the murders in May of 2004. They were both sentenced to life in prison. Some of the aspects of the crime including how the murders were prepared for seemed to be copied in this movie.