In metric, BMI is your weight in kilograms divided by your height in metres squared. In imperial it is your weight in pounds divided by your height in inches squared, multiplied by 703.
That is the whole calculation. There is no adjustment for age, sex, frame or anything else.