Assuming that the common-spectrum process in the NANOGrav 12.5-year dataset has an origin of scalar-induced gravitational waves, we study the enhancement of primordial curvature perturbations and the mass function of primordial black holes, by performing the Bayesian parameter inference for the first time. We obtain lower limits on the spectral amplitude, i.e., A≳10−2 at 95% confidence level, when assuming the power spectrum of primordial curvature perturbations to follow a log-normal distribution function with width σ. In the case of σ→0, we find that the primordial black holes with 2×10−4−10−2 solar mass are allowed to compose at least a fraction 10−6 of dark matter. Such a mass range is shifted to more massive regimes for larger values of σ, e.g., to a regime of 4×10−3−0.2 solar mass in the case of σ=1. We expect the planned gravitational-wave experiments to have their best sensitivity to A in the range of 10−4 to 10−7, depending on the experimental setups. With this level of sensitivity, we can search for primordial black holes throughout the entire parameter space, especially in the mass range of 10−16 to 10−11 solar masses, where they could account for all dark matter. In addition, the importance of multi-band detector networks is emphasized to accomplish our theoretical expectation.