Choose 300 KB when the receiving portal gives that maximum. If its notification also gives a minimum, enter it under More options rather than treating every smaller result as acceptable. A scan, a signature and a photograph may have separate requirements. Check the final dimensions and readability as well as the size, and follow the current notification for your application.
There is no fixed conversion from 300 KB to pixel dimensions. Fine texture, gradients, lettering and the output format all affect the result. Check the exported width and height separately from its file size.
Tip: Photos with plain backgrounds compress better than busy ones, which matters for passport-style shots.