Fix a Calabi-Yau 3-fold X satisfying the Bogomolov-Gieseker conjecture of Bayer-Macrì-Toda, such as the quintic 3-fold.We express Joyce's generalised DT invariants counting Gieseker semistable sheaves of any rank r on X in terms of those counting sheaves of rank 1. By the MNOP conjecture they are therefore determined by the Gromov-Witten invariants of X.Let X be a smooth projective Calabi-Yau 3-fold X satisfying the Bogomolov-Gieseker conjecture of Bayer-Macrì-Toda [BMT]. We show that the higher rank or "nonabelian" DT theory of X is governed by its rank one "abelian" theory. ("Nonabelian" and "abelian" refer to the gauge groups U (r) and U (1) respectively.) This can be thought of as a 6dimensional analogue of the correspondence between nonabelian Donaldson theory and abelian Seiberg-Witten theory for smooth 4-manifolds.Combined with the MNOP conjecture [MNOP], now proved for most Calabi-Yau 3folds [PP], this expresses any DT invariant J(v) entirely in terms of the Gromov-Witten invariants of X. Here J(v) ∈ Q denotes Joyce-Song's generalised DT invariant [JS] counting Gieseker semistable sheaves on X of numerical K-theory class v of rank r > 0.Theorem 1. Let (X, O X (1)) be a Calabi-Yau 3-fold satisfying the conjectural Bogomolov-Gieseker inequality of [BMT]. Then for fixed v of any rank r > 0,(1) J(v) = F J(α 1 ), J(α 2 ), . . . is a universal polynomial in invariants J(α i ), with all α i of rank 1. If X also satisfies the MNOP conjecture then we can replace the J(α i ) by the Gromov-Witten invariants of X.The coefficients of F depend only on H * (X, Q) as a graded ring with pairing, ch(v), the Chern classes of X, and the class H := c 1 (O X (1)) used to define Gieseker stability. There are countably many terms in the formula (1) but only finitely many are nonzero.