Take the 2-minute tour ×
Mathematica Stack Exchange is a question and answer site for users of Mathematica. It's 100% free, no registration required.

This question already has an answer here:

Is there a tutorial page that have all Mathematica units? I sometimes have hard time figuring out the correct unit spelling when using quantities

share|improve this question

marked as duplicate by Öskå, Oleksandr R., Yves Klett, ubpdqn, Simon Woods Sep 11 '14 at 12:46

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

You could check out: reference.wolfram.com/language/guide/Units.html –  user85503 Sep 3 '14 at 16:23
You can use a query to WolframAlpha to discover units for a particular application, e.g., WolframAlpha["units for volume"] or WolframAlpha["SI units"] –  Bob Hanlon Sep 3 '14 at 17:09

2 Answers 2

up vote 19 down vote accepted

This should list you all available units in Mathematica.


Inspired by eldo I made a little dynamic interface:

table = Keys[QuantityUnits`Private`$UnitReplacementRules];

Panel[DynamicModule[{f = ""}, 
  Column[{Text[Style["Mathematica Unit Search:", Bold]], 
    InputField[Dynamic[f], String, ContinuousAction -> True], 
    Dynamic[Union@Flatten[StringCases[#, f ~~ ___] & /@ table] // 

enter image description here

share|improve this answer
Notice the typo: "FeetfRainfall" (reported to Support) –  paw Sep 3 '14 at 18:13
That panels make Mathematica 10 crash if pressing "panel format" in the suggestion bar. Can anybody confirm that please? –  rhermans Sep 4 '14 at 12:28
Can confirm! (Windows 7 64-bit, MMA10) –  paw Sep 4 '14 at 13:23
Thanks for the confirmation. I'm Not in front of a proper computer now, I will file a report in a few hours unless somebody else does it before me. –  rhermans Sep 4 '14 at 13:27
Do that! Funny how this answer revealed a typo and a bug. –  paw Sep 4 '14 at 13:30

Expanding a little bit on paw's nice discovery:

table = Keys[QuantityUnits`Private`$UnitReplacementRules];

Since this table is very long one can restrict the output, f.e. with

Union @ Flatten[StringCases[#, "Feet" ~~ ___] & /@ table] // TableForm

enter image description here


A similar question could arise with the more than 1000 inbuilt formula names:

formulas = FormulaLookup[All];

Find all formulas including "speed":

(speed =
     StringCases[#, ___ ~~ "speed" ~~ ___, IgnoreCase -> True] & /@
      formulas]) // Multicolumn

enter image description here

Extract those with FormulaData:

(inter = Intersection[FormulaData[], speed]) // Multicolumn

enter image description here

 Framed[Grid[{#, FormulaData[#]} & /@ inter,
   Dividers -> All,
   Spacings -> {{2, 2}, 3},
   Alignment -> Left,
   BaseStyle -> {FontFamily -> "Helvetica"},
   Background -> {None, {{Hue[.6, .15, .9], GrayLevel[.9]}}},
   FrameStyle -> Directive[Thick, White]
  FrameMargins -> 0.5,
  FrameStyle -> GrayLevel[.7]]

enter image description here

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.