The official distance of a marathon is 42.195 kilometers (26.219 miles).