We developed a compartmental model of mitochondria transport in axons. The main goal was to develop a method for computing the age of mitochondria at different distances from the soma. The model predicts that mitochondria's age at the tip of the axon with a length of 1 cm is approximately 20 hours. The mitochondria are younger closer to the soma; the age of mitochondria scales approximately linearly with the distance from the soma. To the best of the authors' knowledge, this is the first attempt to predict how old mitochondria in different locations in the axon are. A sensitivity study of the mean age of mitochondria to various model parameters is also presented.