I'm using IDA Pro to disassemble/modify a PE file. How can I get the file offset in the '.exe' where a specific data/instruction resides. Or how can I get the file offset which is the source of a virtual address?


2 Answers 2


At the bottom left of the IDA View, you'll see the location of the cursor, as file offset (red) as well as virtual location (blue).

(Underlines by me, not by Ida).

enter image description here

  • 1
    Do you also know how can I copy it into clipboard?
    – sasho648
    Feb 13, 2015 at 21:32
  • 1
    What if it gives me this?
    – c00000fd
    Apr 6, 2019 at 23:00

To find it using IDAPython:


where "ea" is your virtual offset like 0x400000.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.