Quasilocal mass in general relativity is a notion defined for a closed space like 2-surface in spacetime. In this note, we explain the definition in [23] and [24] from a mathematical viewpoint, emphasizing the connection to differential geometry and nonlinear partial differential equations. We also discuss a minimax interpretation of the definition and compare with other notions of quasilocal mass.