A BMI calculator will just use height and weight - if you have a lot of muscle bulk you’ll get a higher BMI result even if you’re lean. Conversely, some people are “thin on the outside, fat on the inside”, ie they carry a lot of visceral fat around their organs. So while BMI can be useful, it’s not perfect.
Home team for the ruru!!