Equal spacing calculator

Find the gap and the marks for evenly spaced items.