The honest answer is: it depends on where the map is going. The grids different VTTs and printers expect are not the same size, and the difference is invisible until you import a map and your goblins are suddenly two squares wide.
For Roll20
Roll20 expects 70 pixels per square at default page settings. If you draw or buy a map at 2800 × 1960 pixels, you get a clean 40 × 28 grid. Anything off this multiple will be resampled when you import it.
For Foundry VTT
Foundry's default is 100 pixels per square, but you can change this per scene. For shared maps that travel between systems, 100px is the safer common denominator.
For print
One inch per square at 300 DPI is 300 pixels. A standard tabloid sheet (11 × 17) at the table fits a 17 × 11 grid before bleed. Most home printers will struggle past 200 DPI; aim there if you're not going to a print shop.