You asked

Nikon d5300 vs pentax k 30?

Here is what the site says about that.

From Pentax K-30: Pentax K-30: A DSLR by Pentax with a 16.3-megapixel APS-C sensor, announced in 2012. Specs - Maker: Pentax - Mount: Pentax K - Sensor: APS-C, 23.5 x 15.6mm, crop factor 1.5 - Resolution: 16.3 megapixels - Stabilisation: in the body - Announced: 2012 - Type: DSLR Focal lengths on it Lenses frame like 1.5 times their focal length on full frame: 16mm like 24mm, 23mm like 35mm, 33mm like 50mm, 57mm like ...

From Nikon D5300: Nikon D5300: A DSLR by Nikon with a 24.2-megapixel APS-C sensor, announced in 2013. Specs - Maker: Nikon - Mount: Nikon F - Sensor: APS-C, 23.5 x 15.6mm, crop factor 1.5 - Resolution: 24.2 megapixels - Stabilisation: none in the body; use stabilised lenses for slow shutter speeds - Announced: 2013 - Type: DSLR Focal lengths on it Lenses frame like 1.5 times their focal length on full frame: 16mm like 24mm, ...

Quoted from this site's pages.

From these pages