The offset is calculated using the formula: Offset = 2 * (bend_distance - setback), where the bend_distance is the distance from the start of the bend to the point of the offset, and the setback is the distance along the conduit where the offset will occur.