Remove the S Pen, hold the S Pen close to the screen and click the button, select Pen Window in the radial menu that pops up, draw the window in the screen, select Calculator in the list of apps that appears.
There you go, one calculator in a window on top of the other apps.