To measure the quantum correlation of a bipartite state, a test matrix is constructed through the commutations among the blocks of its density matrix, which turns out to be a zero matrix for a classical state with zero quantum correlation, and a nonzero one for a quantum state with positive quantum correlation. The Frobenius norm of the test matrix is used to measure the quantum correlation, which satisfies the basic requirements for a good measure and coincides with Wootters concurrence for two-qubit pure states. Since no optimization is involved in the definition, this measure of quantum correlation is easy to compute and even can be calculated manually.