The determination of the amount of ubiquitin in a sample. The trait is ubiquitin measurement (EFO_0020839, an Experimental Factor Ontology entry).