सहाय्य:Convert units

विकिपीडिया, मुक्‍त ज्ञानकोशातून

साचा:Wikipedia how to Template {{convert}} is used to convert a value from one unit of measurement to another. This page documents some features of units, and lists units that are commonly used in conversions.

Default output[संपादन]

If no output unit is specified, the default output for the input unit will be used. Using defaults provides greater uniformity across articles.

Some options provide text that the template may mistakenly use for the output unit, if none is specified. That can be avoided by providing an empty output unit, as shown in the following examples.

  • {{convert|4|ft}} → ४ फूट (१.२ मी)
  • {{convert|4|ft|adj=mid|-long}}रुपांतरण त्रूटी: "-long" एकक अनोळखी आहे
  • {{convert|4|ft||adj=mid|-long}} → ४-फूट-long (१.२ मी)

The second of the above examples produces an error because "-long" is interpreted as the name of the output unit. The third example avoids that by specifying an empty output unit which means "use the default".

The following also works, although it sets the output precision to 0.

  • {{convert|4|ft|0|adj=mid|-long}} → ४-फूट-long (१ मी)

The last example works because "|0" sets the output precision to zero, and convert does not look for an output unit once the precision has been specified because a precision is always given after the output unit, if any.

SI prefixes[संपादन]

The standard SI prefixes can applied to the following units. साचा:Sidebar metric prefixes

Unit type Unit code Unit name
Area a are
m2 square metre
Charge coulomb coulomb
Energy J joule
Force N newton
Length m metre
Magnetic field strength T tesla
Mass g gram
Power W watt
Pressure Pa pascal
Radioactivity Bq becquerel
Ci curie
Time s second
Volume L litre
l litre
m3 cubic metre

Some SI prefixes are demonstrated in the following. As a convenience, "micro" can be entered as "u" instead of "µ".

  • {{convert|1.23|Gm|angstrom}} → १.२३ गिगामीटर (१.२३×१०१९ Å)
  • {{convert|1.23|Mm|angstrom}} → १.२३ मेगामीटर (१.२३×१०१६ Å)
  • {{convert|1.23|Ts|hour}} → १.२३ टेरासेकंद (३४,००,००,००० तास)
  • {{convert|1.23|nJ|Wh}} → १.२३ नॅनोjoule (३.४×१०−१३ Wh)
  • {{convert|1.23|µm|in}} → १.२३ मायक्रोमीटर (४.८×१०−५ इंच)
  • {{convert|1.23|um|in}} → १.२३ मायक्रोमीटर (४.८×१०−५ इंच)
  • {{convert|1.23|um|uin|abbr=on}} → १.२३ uमी (४८ µin)
  • {{convert|18|mm|in}} → १८ मिलीमीटर (०.७१ इंच)
  • {{convert|18|km|mi}} → १८ किलोमीटर (११ मैल)

The above demonstrates that "uin" is the unit code for microinch.

Combinations[संपादन]

An input unit can be converted to any number of output units—the outputs are specified as a "combination" by separating unit codes with a space (" ") or a plus ("+"). Using a space as a separator does not work if any of the unit codes contains a space.

For example, each of the following converts 1.2 km2 to acres, square yards, and hectares.

In the following, because "board feet" contains a space, using a space to make a combination fails.

The following converts a pressure to four output units. The precision is 1 (1 decimal place), and units are abbreviated and linked.

Some "standard" combinations have been defined—see the full list of units.

Engineering notation[संपादन]

Most units can be combined with a scale factor, for example, e6km represents a million kilometres. The following prefixes may be used; per WP:NUMERAL, values follow the short scale. If lk is on, the numbers are linked as shown below.

Engineering notation can only be applied to simple units—temperatures, combinations, and some other special units will not work.

Some examples using engineering notation follow.

  • {{convert|123.4|e3m2}} → १२३.४ हजार चौरस मीटर (१.३२८×१०^ चौ. फूट)
  • {{convert|123.4|e3m2|e6sqft|abbr=off}} → १२३.४ हजार चौरस मीटर (१.३२८ दशलक्ष चौरस फूट)
  • {{convert|1.23|e6L}} → १.२३ दशलक्ष लीटर (३,२०,००० US gal)
  • {{convert|1.23|e6L|e3usgal|abbr=off|lk=on|sp=us}} → १.२३ दशलक्ष लीटर (३२० हजार U.S. gallon)
  • {{convert|1.23|e9impgal}} → १.२३ दहा कोटी imperial gallon (५.६ गिली)
  • {{convert|1.23|e9impgal|e3usgal|abbr=off|lk=on}} → १.२३ दहा कोटी imperial gallon (१४,८०,००० हजार US gallon)
  • {{convert|1.23|e12cuft}} → १.२३ trillion घन फूट (३५×१०^ मी)

Area

Examples:

  • {{convert|1.5|sqmi|km2}} → १.५ चौरस मैल (३.९ चौ. किमी)
  • {{convert|1.5|sqmi|km2|abbr=off}} → १.५ चौरस मैल (३.९ चौरस किमी)
  • {{convert|1.5|sqmi|km2|abbr=on}} → १.५ चौ. मैल (३.९ चौ. किमी)
एकक संकेत एकक चिन्ह एकक नाव यूएस नाव, जर वेगळे असेल तर
acre एकर एकर
ha ha हेक्टर
m2 मी चौरस मीटर
cm2 सेंमी सेंटीचौरस मीटर
km2 चौ. किमी चौरस किमी
sqin चौ. इंच चौरस इंच
sqft चौ. फूट चौरस फूट
sqyd चौ. या. चौरस यार्ड
sqmi चौ. मैल चौरस मैल

Fuel efficiency

Examples:

  • {{convert|12|mpgus|km/L}} → १२ मैल per US gallon (५.१ किमी/ली)
  • {{convert|12|mpgus|km/L|abbr=off}} → १२ मैल per US gallon (५.१ किलोमीटर per लीटर)
  • {{convert|12|mpgus|km/L|abbr=off|sp=us}} → १२ मैल per U.S. gallon (५.१ किलोमीटर per लीटर)
  • {{convert|12|mpgus|km/L|abbr=on}} → १२ mpg-US (५.१ किमी/ली)
एकक संकेत एकक चिन्ह एकक नाव यूएस नाव, जर वेगळे असेल तर
km/L किमी/ली किलोमीटर per लीटर
mpgimp mpg-imp मैल per imperial gallon
mpgus mpg-US मैल per US gallon मैल per U.S. gallon
L/km ली/किमी लीटर per किलोमीटर
L/100 km ली/100 किमी लीटर per 100 किलोमीटर

Length

Examples:

  • {{convert|123|cm|in}} → १२३ सेंटीमीटर (४८ इंच)
  • {{convert|123|cm|in|abbr=off|sp=us}} → १२३ सेंटीमीटर (४८ इंच)
  • {{convert|123|cm|in|abbr=on}} → १२३ सेंमी (४८ इंच)
एकक संकेत एकक चिन्ह एकक नाव यूएस नाव, जर वेगळे असेल तर
uin µin microinch
in इंच इंच
ft फूट फूट
yd यार्ड यार्ड
mi मैल मैल
nmi nmi nautical mile
m मी मीटर
cm सेंमी सेंटीमीटर
mm मिमी मिलीमीटर
km किमी किलोमीटर
angstrom Å ångström

Mass

Examples:

  • {{convert|72.3|kg|lb}} → ७२.३ किलोग्रॅम (१५९ पौंड)
  • {{convert|72.3|kg|lb|abbr=off}} → ७२.३ किलोग्रॅम (१५९ पौंड)
  • {{convert|72.3|kg|lb|abbr=on}} → ७२.३ किलो (१५९ पौंड)
एकक संकेत एकक चिन्ह एकक नाव यूएस नाव, जर वेगळे असेल तर
g ग्रॅम ग्रॅम
kg किलो किलोग्रॅम
oz औंस औंस
lb पौंड पौंड
st st stone
LT लाँग टन लाँग टन
MT टन metric ton
ST short ton short ton

Pressure

Examples:

  • {{convert|28|psi|Pa}} → २८ pounds per square inch (१,९०,००० Pa)
  • {{convert|28|psi|Pa|abbr=off}} → २८ pounds per square inch (१,९०,००० pascal)
  • {{convert|28|psi|Pa|abbr=on}} → २८ psi (१,९०,००० Pa)
एकक संकेत एकक चिन्ह एकक नाव यूएस नाव, जर वेगळे असेल तर
atm atm standard atmosphere
mbar mbar millibar
psi psi pound per square inch
Pa Pa pascal

Speed

Examples:

  • {{convert|60|mph|km/h}} → ६० मैल प्रति तास (९७ किमी/ता)
  • {{convert|60|mph|km/h|abbr=off}} → ६० मैल प्रति तास (९७ किमी प्रति तास)
  • {{convert|60|mph|km/h|abbr=on}} → ६० मैल/तास (९७ किमी/ता)
एकक संकेत एकक चिन्ह एकक नाव यूएस नाव, जर वेगळे असेल तर
km/h किमी/ता किमी प्रति तास
km/s km/s kilometre per second kilometer per second
kn नॉट नॉट
mph मैल/तास मैल प्रति तास

Temperature

Examples:

  • {{convert|100|C|F}} → १०० °से (२१२ °फॅ)
  • {{convert|100|C|F|abbr=off}} → १०० degrees Celcius (२१२ डिग्री फॅरेनहाइट)
  • {{convert|100|C-change|F-change}} → १०० °C (१८० °F)
  • {{convert|100|C-change|F-change|abbr=out}} → १०० degrees Celsius change (१८० °F)
एकक संकेत एकक चिन्ह एकक नाव यूएस नाव, जर वेगळे असेल तर
C °से डिग्री सेल्सियस
F °फॅ डिग्री फॅरेनहाइट
K के केल्व्हिन
C-change °C degree Celsius change
F-change °F degree Fahrenheit change
K-change K kelvin change

Torque

Examples:

  • {{convert|12.5|Nm|lb.in}} → १२.५ newton metre (१११ lb·in)
  • {{convert|12.5|Nm|lb.in|abbr=off}} → १२.५ newton metre (१११ pound force-inch)
  • {{convert|12.5|Nm|lb.in|abbr=on|lk=on}} → १२.५ N·m (१११ lb·in)
एकक संकेत एकक चिन्ह एकक नाव यूएस नाव, जर वेगळे असेल तर
lb.in lb·in pound force-inch
lb.ft lb·ft pound force-foot
Nm N·m newton metre newton meter

Volume

Examples:

  • {{convert|125|cuin|l}} → १२५ घन इंच (२.०५ ली)
  • {{convert|125|cuin|l|abbr=off}} → १२५ घन इंच (२.०५ लीटर)
  • {{convert|125|cuin|l|abbr=on}} → १२५ घन इंच (२.०५ ली)
एकक संकेत एकक चिन्ह एकक नाव यूएस नाव, जर वेगळे असेल तर
cuin घन इंच घन इंच
cuft घन फूट घन फूट
cuyd cu yd cubic yard
cumi घन मैल घन मैल
impgal imp gal imperial gallon
impoz imp fl oz imperial fluid ounce
usgal US gal US gallon U.S. gallon
usoz US fl oz US fluid ounce U.S. fluid ounce
L ली लीटर
l ली लीटर
m3 मी घन मीटर
cc क्युसेक्स घन सेंटीमीटर
mm3 mm3 cubic millimetre cubic millimeter


Hands (unit of length)[संपादन]

A hand is a unit of length used to measure the height of horses. One hand is four inches, and a value of 12.3 hands represents 12 hands + 3 inches (51 inches).

Output name[संपादन]

  • By default, the unit is shown as a linked name (hands).
  • The hands unit can be abbreviated to "h" or to "hh"; by default, abbreviations are not linked.
    {{convert|27|in|hand}} → २७ इंच (६.३ h)
    {{convert|27|in|hand|lk=off}} → २७ इंच (६.३ h)
    {{convert|27|in|hand|abbr=h}} → २७ इंच (६.३ h)
    {{convert|27|in|hand|abbr=hh}} → २७ इंच (६.३ h)
    {{convert|27|in|hand|abbr=hh|lk=out}} → २७ इंच (६.३ h)

Output value[संपादन]

  • The hands value has at most one digit after the decimal mark, and has an optional fraction.
  • A precision of 2 assumes |frac=2 (round to nearest 12 inch).
  • A precision of 3 or more assumes |frac=4 (round to nearest 14 inch).
  • If ever needed, |frac=8 can be used to round to the nearest 18 inch.
    {{convert|27.63|in|hand}} → २७.६३ इंच (६.३६ h)
    {{convert|27.63|in|hand|0}} → २७.६३ इंच (७ h)
    {{convert|27.63|in|hand|1}} → २७.६३ इंच (७.० h)
    {{convert|27.63|in|hand|2}} → २७.६३ इंच (६.३६ h)
    {{convert|27.63|in|hand|3}} → २७.६३ इंच (६.३६३ h)
    {{convert|27.63|in|hand|frac=8}} → २७.६३ इंच (६.३६ h)
    {{convert|28.5|in|hand|2}} → २८.५ इंच (७.०५ h)
    {{convert|28.5|in|hand|3}} → २८.५ इंच (७.०५० h)

Output in hands and inches[संपादन]

Ranges[संपादन]

Examples[संपादन]

  • The following examples illustrate various combinations of options.
    {{convert|57|in|hand}} → ५७ इंच (१४.१ h)
    {{convert|2|m|hand}} → २ मीटर (१९.३ h)
    {{convert|137|cm|hand|2}} → १३७ सेंटीमीटर (१३.१९ h)
    {{convert|137|cm|hand|2|sp=us}} → १३७ सेंटीमीटर (१३.१९ h)
    {{convert|14.1|hand|in}} → १४.१ hand (५७ इंच)
    {{convert|14.1|hand|cm}} → १४.१ hand (१४५ सेंमी)
    {{convert|14.1|hand|in cm}} → १४.१ hand (५७ इंच; १४५ सेंमी)
    {{convert|14.1|hand|cm in}} → १४.१ hand (१४५ सेंमी; ५७ इंच)
    {{convert|14.1|-|14.3|hand|cm}} → १४.१–१४.३ hand (१४५–१५० सेंमी)
    {{convert|14.1|-|14.3|hand|in cm}} → १४.१–१४.३ hand (५७–५९ इंच; १४५–१५० सेंमी)
    {{convert|50|-|57|in|hand}} → ५०–५७ इंच (१२.२–१४.१ h)
    {{convert|2|-|3|m|hand}} → २–३ मीटर (१९.३–२९.२ h)
    {{convert|57|or|59|in|hand|abbr=on}} → ५७ or ५९ इंच (१४.१ or १४.३ h)
    {{convert|137|-|139|cm|hand|lk=on}} → १३७–१३९ सेंटीमीटर (१३.२–१३.३ h)
    {{convert|137|and|162|cm|hand|0|abbr=in|lk=in}} → १३७ and १६२ सेंमी (१३ and १६ hand)
    {{convert|137|and|162|cm|hand in}}रुपांतरण त्रूटी: "hand in" एकक अनोळखी आहे
    {{convert|9.2|hand}} → ९.२ hand (९७ सेंमी)
    {{convert|9.2|hand|lk=off}} → ९.२ hand (९७ सेंमी)
    {{convert|9.2|hand|abbr=h}} → ९.२ hand (९७ सेंमी)
    {{convert|9.2|hand|abbr=h|lk=in}} → ९.२ hand (९७ सेंमी)
    {{convert|9.2|hand|abbr=hh|lk=in}} → ९.२ hand (९७ सेंमी)
    {{convert|9.2+1/2|hand}}९.२ hand (१०९.२२० सेंमी)
    {{convert|9.2+3/4|hand}}९.२ hand (११५.५७० सेंमी)
    {{convert|9.2+3/4|hand|abbr=h}}९.२ hand (११५.५७० सेंमी)
    {{convert|9.2+3/4|hand|cm in}}९.२ hand (११५.५७० सेंमी; ४५.५००० इंच)
    {{convert|9.2+3/4|hand|cm in|abbr=out}}९.२ hand (११५.५७० सेंमी; ४५.५००० इंच)
    {{convert|9.2+3/4|hand|cm in|abbr=on}}९.२ h (११५.५७० सेंमी; ४५.५००० इंच)
    {{convert|9.2+3/4|hand|in}}९.२ hand (४५.५००० इंच)
    {{convert|9.2+3/4|hand|in|abbr=out}}९.२ hand (४५.५००० इंच)
    {{convert|9.2+3/4|hand|in|abbr=on}}९.२ h (४५.५००० इंच)
    {{convert|15.1|-|16.3|hand}} → १५.१–१६.३ hand (१५५–१७० सेंमी)
    {{convert|14.2|to|16.1|hand}} → १४.२ to १६.१ hand (१४७ to १६५ सेंमी)