Double-diffusive natural convection flow in a trapezoidal cavity with various aspect ratios in the presence of water-based nanofluid and applied magnetic field in the direction perpendicular to the bottom and top parallel walls is investigated. The bottom and top parallel walls are considered to be insulated, whereas left and right walls are assumed to be uniformly heated and cold, respectively. The numerical computation is carried out to find the streamlines, isotherms, isoconcentrations, average Nusselt number, and average Sherwood number. This study is done for various values of Rayleigh number (105≤Ra≤107)\documentclass[12pt]{minimal}
\usepackage{amsmath}
\usepackage{wasysym}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage{mathrsfs}
\usepackage{upgreek}
\setlength{\oddsidemargin}{-69pt}
\begin{document}$$(10^{5}\le Ra \le 10^{7})$$\end{document}, Hartmann number (0≤Ha≤120)\documentclass[12pt]{minimal}
\usepackage{amsmath}
\usepackage{wasysym}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage{mathrsfs}
\usepackage{upgreek}
\setlength{\oddsidemargin}{-69pt}
\begin{document}$$(0\le Ha \le 120)$$\end{document}, various aspect ratios (0.5≤A≤2)\documentclass[12pt]{minimal}
\usepackage{amsmath}
\usepackage{wasysym}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage{mathrsfs}
\usepackage{upgreek}
\setlength{\oddsidemargin}{-69pt}
\begin{document}$$(0.5\le A \le 2)$$\end{document}, the solid volume fraction (0≤φ≤0.1)\documentclass[12pt]{minimal}
\usepackage{amsmath}
\usepackage{wasysym}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage{mathrsfs}
\usepackage{upgreek}
\setlength{\oddsidemargin}{-69pt}
\begin{document}$$(0\le \varphi \le 0.1)$$\end{document}, and the inclination angle of cavity (ϕ)\documentclass[12pt]{minimal}
\usepackage{amsmath}
\usepackage{wasysym}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsbsy}
\usepackage{mathrsfs}
\usepackage{upgreek}
\setlength{\oddsidemargin}{-69pt}
\begin{document}$$(\phi )$$\end{document}. It is found that the strength of vortex decreases/increases as the magnetic field parameter/aspect ratio increases. It is also found that increase in the Rayleigh number causes natural convection due to the increase in the buoyancy forces. In nanofluid, mass transfer ratio is more effective than base fluid.