Dictionary.com
Thesaurus.com

whack off

British  

verb

  1. slang (intr, adverb) to masturbate

"Collins English Dictionary — Complete & Unabridged" 2012 Digital Edition © William Collins Sons & Co. Ltd. 1979, 1986 © HarperCollins Publishers 1998, 2000, 2003, 2005, 2006, 2007, 2009, 2012

whack off Idioms  
  1. Cut off, as in The cook whacked off the fish's head with one blow , or The barber whacked off more hair than I wanted him to . [ Slang ; first half of 1900s]

  2. Masturbate, as in He went to his room and whacked off . [ Vulgar slang ; mid-1900s]