Sub means: under

I remember sub because a submarine goes under water.

A submarine goes under the sea. To submerge is to pull something under the surface.  To subtract means to pull under one number from another.