Little is known regarding a correlation of hemodynamics at rest or exercise capacity with echocardiographic parameters in patients with pulmonary hypertension (PH). To clarify these potential correlations, we performed transthoracic echocardiography, right heart catheterization, and cardiopulmonary exercise testing in 53 patients with pulmonary arterial hypertension (PAH) and chronic thromboembolic pulmonary hypertension (CTEPH). Left ventricular end-diastolic dimension (LVDd), early diastolic velocity of the septal mitral annulus (septal e′), tricuspid regurgitation peak gradient (TRPG), and tricuspid annular plane systolic excursion (TAPSE) were significantly correlated with cardiac index (LVDd; r = 0.477, P < 0.001, septal e′; r = 0.463, P = 0.001, TRPG; r = − 0.455, P = 0.001 and TAPSE; r = 0.406, P = 0.003, respectively). Multiple regression analysis revealed that LVDd and septal e′ were significantly associated with cardiac index (CI) and stroke volume index at rest. Among the exercise capacity markers evaluated, TAPSE, TRPG, and LVDd were significantly correlated with peak oxygen uptake (TAPSE; r = 0.534, P < 0.001, TRPG; r = − 0.466, P = 0.001 and LVDd; r = 0.411, P = 0.002, respectively). Multiple regression analysis showed that TAPSE was significantly associated with peak oxygen uptake (VO2). In PAH and CTEPH patients, LVDd and septal e′ were significantly associated with CI at rest, whereas TAPSE was significantly associated with peak VO2. Echocardiographic parameters may predict the prognostic factors of PAH and CTEPH patients.Electronic supplementary materialThe online version of this article (10.1007/s00380-017-1086-0) contains supplementary material, which is available to authorized users.