In this video i have demonstrated the method to fit camera accurately to viewport and my add-on which does the process easily and automatically.
The default align to view operation does not account for lens properties and the camera is not matched to viewport accurately .
You can download the add-on here:
https://blenderartists.org/t/camera-f...
Blender Camera Fit View - Camera from View - Default method and the Add-On