CassieFordham said:
I want to know how to know the formula to figure out the
There is no formula that fits all scenarios.
You could try concentration dispersion, such as how will it take for a smell ( perfume for ex ) to cross a distance, just by the movement of molecules themselves. Around a barrier adds a complication.
Wind drift, gravity fed movement, convection, smokestack, atmospheric conditions, etc all in puts and/or choices used to model movement of particles and aerosols in air for say pollutants, chemical agents, fire, etc.
Look up air dispersion modeling to see what's out there. Most programs would be for larger areas - 1000's of feet to miles and miles from the source. You might get lucky to find something for smaller areas, very low concentrations, and brief time periods. If you are more lucky, you might be able to find some expose on equations, applicability, and the importance of factors in the modelling.
wiki has a little bit
https://en.wikipedia.org/wiki/Atmospheric_dispersion_modeling
Chugg away/ A small scale model for barbeques and cigarette smoke would be an interesting application for urban dwellers, and other interested parties.