Use 500 KB when it is the receiving site's limit or a deliberate delivery budget. A detailed scene may still need a quality or dimension reduction. If you are preparing an Instagram post, use the relevant preset to choose the composition and dimensions as well; a 500 KB file by itself does not stop the platform from processing your photo.
There is no fixed conversion from 500 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: For screenshots and UI images, PNG at reduced pixels can look cleaner than JPEG. Try both from More options.