QuantityVariablePhysicalQuantity[var]
returns the physical quantity associated with the quantity variable var.
QuantityVariablePhysicalQuantity[var,type]
returns the physical quantity using the format type.


QuantityVariablePhysicalQuantity
QuantityVariablePhysicalQuantity[var]
returns the physical quantity associated with the quantity variable var.
QuantityVariablePhysicalQuantity[var,type]
returns the physical quantity using the format type.
Details

- QuantityVariablePhysicalQuantity returns the pq of QuantityVariable[var,pq].
- type can be "CanonicalName" or "Entity". "CanonicalName" returns the canonical name or combination of canonical names corresponding to the physical quantity, as in the single-argument case. "Entity" returns the corresponding physical quantity as a "PhysicalQuantity" Entity.
Examples
open all close allBasic Examples (1)
Give the physical quantity of a QuantityVariable:
Scope (2)
The "CanonicalName" second argument works the same as the single-argument case:
The "Entity" second argument returns the corresponding "PhysicalQuantity" Entity:
Applications (1)
Properties & Relations (2)
Use FormulaData to find the physical quantities used by each QuantityVariable in a formula:
Use the ResourceFunction "PhysicalQuantityLookup" to find physical quantities and quantity variables from units and quantities:
See Also
QuantityVariableDimensions QuantityVariable QuantityVariableIdentifier
Function Repository: PhysicalQuantityLookup
Related Guides
History
Text
Wolfram Research (2014), QuantityVariablePhysicalQuantity, Wolfram Language function, https://reference.wolfram.com/language/ref/QuantityVariablePhysicalQuantity.html.
CMS
Wolfram Language. 2014. "QuantityVariablePhysicalQuantity." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/QuantityVariablePhysicalQuantity.html.
APA
Wolfram Language. (2014). QuantityVariablePhysicalQuantity. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/QuantityVariablePhysicalQuantity.html
BibTeX
@misc{reference.wolfram_2025_quantityvariablephysicalquantity, author="Wolfram Research", title="{QuantityVariablePhysicalQuantity}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/QuantityVariablePhysicalQuantity.html}", note=[Accessed: 08-August-2025]}
BibLaTeX
@online{reference.wolfram_2025_quantityvariablephysicalquantity, organization={Wolfram Research}, title={QuantityVariablePhysicalQuantity}, year={2014}, url={https://reference.wolfram.com/language/ref/QuantityVariablePhysicalQuantity.html}, note=[Accessed: 08-August-2025]}