You asked
How far should I stand from my subject with a 45mm f 1 8 on the canon eos 80d?
The guide doesn't cover a 45mm f/1.8 lens for the Canon EOS 80D, so it can't give a distance for that exact lens. Check that the lens has a Canon EF or EF-S mount before you buy, since that's what the 80D takes.
The reasoning still applies. The 80D has an APS-C sensor with a 1.6 crop factor, so a 45mm lens frames roughly like 72mm on full frame. The portraits guide says longer focal lengths flatter faces because you stand further away, which keeps noses and chins in proportion. So step back until the framing you want fills the frame at a comfortable working distance, rather than moving in close. Standing closer also increases background blur, but at the cost of facial distortion.
At f/1.8 the depth of field is thin. Keep focus on the eyes, and stop down to about f/2.8 for two people at different distances. The aperture section also notes that moving your subject away from a wall often does more than a faster lens. On APS-C, f/1.8 gives about the background blur of f/2.7 on full frame, as the focal length converter explains.
Written by Claude from this site's pages.
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.