As of Version 9.0, unit functionality is built into the Wolfram Language

is a unit of length.


  • To use LightYear, you first need to load the Units Package using Needs["Units`"].
  • LightYear is equivalent to 9.46073×1015 Meter (SI units).
  • Convert[n LightYear,newunits] converts n LightYear to a form involving units newunits.
  • One LightYear is the distance light travels in a year in a vacuum.
  • LightYear is typically abbreviated as ly.