Calculate proceeds