You asked:

1 megabyte equals how many bytes

Sorry, I don't yet have an answer to that question.