Formula to calculate time spent between start, finish

What is the formula to calculate time spent between start, finish?

And how to make the items ‘sum’ the entire board?

[Infinity] 2023-10-11 at 1.45.49 pm