We have formulated a semi-empirical formula for alpha decay half-lives and cluster decay half-lives for superheavy nuclei of atomic number range 104≤Z≤130. We have compared the logarithmic half-lives produced by the present formula with that of experiments and other formulae, such as universal decay law (UDL) [H. C. Manjunatha and K. N. Sridhar, Eur. Phys. J. A53, 156 (2017)] and Horoi et al. [Horoi et al., J. Phys. G: Nucl. Part. Phys.30, 945 (2004)], Univ [D. Ni and Z. Ren, Phys. Rev. C74, 014304 (2006)], Royer [G. Royer, J. Phys. G: Nucl. Part. Phys.26, 1149 (2000)] and VSS [S. A. Gurvitz and G. Kalbermann, Phys. Rev. Lett.59, 262 (1987)]. The constructed formula produces logarithmic half-lives for alpha and cluster decay (4He,9Be, 10,11B, 12C, 14N, 16O, 19F, 20−22Ne, 23Na, 24−26Mg, 27Al, 28−30Si, 31P, 32−34S, 35Cl, 36,38,40Ar, 39,41K and 40,42−44,46Ca) in superheavy nuclei of atomic number range 104≤Z≤130.