How impressions are calculated

let us talk about banner ads, if the user saw the ad for 1 ms and then close the app, is this calculated as an impression?
if the user saw the same ad every time he use the app, is this ONE impression or more?

Can anybody explain how impressions are calculated?


ad loaded in baner space 1 impression calculated