DataGraph Reference Manual
Print

Conversion Factors

DataGraph has over 100 defined constants that can be used to convert axis values from one unit of measure to another, without you having to enter any conversion factors. They include length, area, volume, time, and more.  

These constants are used in the unit conversion in the Extra Axis command. Add an Extra Axis command to your graph and change the Units to ‘Convert’ to use this functionality. Then you will have two new entry boxes named Data and Display.

One use case for this functionality is to provide two units of measure for a set of data. For example, below we are graphing data in feet square, but we also want to show meters square on the right.

To create this graph, the Extra Axis options are Units = ‘Convert’ and Position =  ‘Right’.  The defined constants are entered such that Data is set to ‘sqft’ and Display is set to ‘sqm’.

Some of the constants have more than one symbol defined. For example, a gallon can be understood as ‘gal’, ‘gallon’, or ‘gallons’. If you enter a symbol that is not defined a warning will be displayed that lists all of the symbolic constants that have been defined.

You can think of each of these constants as built-in variables that represent a conversion factor based on SI units. For example, the value for meters ‘m’ is one since meters are the SI unit for length. The value for ‘cm’ is 0.01 since cm is one-one hundredth of the meter. The data conversion is done by multiplying by the ratio of Data/Display to show the requested units.

Note: DataGraph will not warn you if you pick a combination of units that don’t make physical sense (i.e., converting from volume to mass), so always double-check! A list of all the defined constants is provided below.

keyvalueDescription
A1Current
acre, acres4046.8564224Area
atm101325Pressure (standard atmosphere)
Å,å1E-10Length
at98066.5Pressure (technical atmosphere)
bar, bars1E+05Pressure
barye0.1Pressure 1 barye = 0.1 Pa  = 1 g·cm−1s−2
biot,biots3.33564E-10Electromagnetic (cgs units)
BTU1054.615Work, British thermal unit
C, coulomb, coulombs1SI unit of electric charge, A*sec
centimeter, centimeters, centimetre0.01Length
cfs0.028316846592cubic feet per second
cm0.01centimeter
cuft0.028316846592cubic feet
cuin1.6387064E-05cubic inches
cukm1E+09cubic kilometers
cum1cubic meters
cumiles4168181825.44058Volume, cubic miles
cuyd0.764554857984volume, cubic yards
cwt45.359237hundredweight
day, days86400in seconds
deg, degree, degrees0.0174532925199433Angle in radians
dyn,dyne1E-05cgs unit of forcedyne = 1 g·cm/s2 
erg1E-07cgs unit of work1 erg = 1 dynecm = 1 g·cm2/s2
feet, ft, foot0.3048Length
floz2.957353E-05Volume
fm1E-15femtometer
furlong201.168Length
g, gr, gram, grams0.001Mass
gal, gallon, gallons0.003785411784Volume
G, gauss0.0001Gauss, strength of magnetic field
grain, grains6.479891E-05Mass
h, hr, hour, hours3600in seconds
H1henry, SI unit of electrical inductance
hectare, hectares10000area
hp745.6998715822702Horsepower
imperialgallon, imperialgallons0.00454609Volume
in,inch,inches0.0254Length
J1Joule
kayser, kaysers100wavenumber, formerly called the kayser
kg, kilo, kilos, kilogram, kilograms1Mass
mph0.2777777…Length/Time
kip,kips4448.2216Imperial unit of force
km1000Length, kilometers
kN1000kiloNewtons
knot,knots0.514434666…Length/Time
kPa1000kiloPascals
kW1000kiloWatt
L, l, liter, liters, litre0.001Volume
lb,lbs0.45359237Weight
league, leagues4828.032Length
mach,Mach340.4014189333333Length/Time
mA, ms, mV, mW, mΩ0.0011/thousand of an SI unit
maxwell1E-07derived CGS unit of magnetic flux
m, meters, meter, metre1Length, meter
mg1E-06milligram
mi,mile,miles1609.344Length
min, minute, minutes60Time
ml1E-06Volume
mm0.001Length, millimeter
MMBtu, mmBTU1054615000One million British Thermal Units (BTU)
mmHg133.322Pressure
N_A6.02214085774E+23Avogadro’s Number
MPa10^6Pressure
mph0.44704speed
nA,nm,ns,nV,nΩ1E-091/billionth of SI unit
N1Newtons
Oe, oersted79.577Auxiliary magnetic field Hin the CGSunits
oz0.0283493Weight
Pa1Pressure, SI unit, Pascal
pdl0.138255Force, English units, poundal
pt, pint, pints0.0004731Volume
pm, pV, pΩ1E-12pico conversion
poise0.1dynamic viscosity cgs units
pound,pounds0.4535888Weight
psi6894.76Pressure
quart0.000946352946Volume
s, sec, second, seconds1Time
sqft0.09290304Area, square feet
sqkm10^6Area, square kilometers
sqm1Area, square meters
sqmile, sqmiles2589988.110336Area, square miles
sqyd0.836127Area, square yards
statC, statcoulomb, esu, Fr3.33564E-10cgs, electrostatic unit of charge
statH898800000000unit of inductance in cgs
statV, statvolt,, statvolts299.792458Unit of electromotive force (EMF) or potential difference in cgs 
stone,stones6.3502432Weight, English units
T1Tesla, strength of magnetic field
torr133.322pressure
ukfloz2.8413E-05UK Fluid Ounces
ukgal, ukgals, ukgallon0.00454608UK Gallon
ukpint, ukpints, ukpt0.00056826UK Pint
ukquart0.001136UK quart
V1Volt, derived SI unit for electric potential
W1Watt
Wb,weber1SI unit of magnetic flux
week, weeks604800time
yard,yards,yd0.9144Length
º0.01745329251994331 degree in radians
µA,µg,µm,µs,µV,µW,µΩ1E-06micro conversion
Ω1Electrical resistance, Ohm
On This Page