Offshore, if my AIS shows a freighter with a 4 mile distance and closest point of approach (CPA) that is within a mile, then I change course right then to pass astern of it by at least 3/4 of NM. On a nice sunny day in comfortable seas, I might allow a closer CPA. But my bride would be giving me all kind of static for being that close. ;^)