To calculate free throw percentage in basketball,
take the number of made free throws and divide it by the number of attempted free throws.
take the number of attempted free throws and divide it by the number of made free throws.