which is the outermost layer
The outermost layer of Earth is the atmosphere. I say the atmosphere is the outermost layer, because it is as much a part of the of our planet as the atmosphere of other planets is a part of their definition.