Weight percent calculation