i was looking at it today, did not use a tape measure, but it looks like a 24 inches would do it.

i know they sell these cables with ends already as ive bought them in the past, i added a extra battery to my truck, and snow plow up grades. used the same cables. everything i used was pre made, from 6 feet to 2 feet.