A potelyt.com – Photography & Imaging Resources
ad

When you use links on apotelyt.com to buy products,
the site may earn a commission.

PW

Canon M3 vs RP

The Canon EOS M3 and the Canon EOS RP are two digital cameras that were officially introduced, respectively, in February 2015 and February 2019. Both the M3 and the RP are mirrorless interchangeable lens cameras that are based on an APS-C (M3) and a full frame (RP) sensor. The M3 has a resolution of 24 megapixels, whereas the RP provides 26 MP.

Below is an overview of the main specs of the two cameras as a starting point for the comparison.

Headline Specifications
Canon M3
versus
Canon RP
Canon M3   Canon RP
Mirrorless system camera Mirrorless system camera
Canon EF-M mount lenses Canon RF mount lenses
24 MP – APS-C sensor 26 MP – Full Frame sensor
1080/30p Video 4K/30p Video
ISO 100-12,800 (100 - 25,600) ISO 100-40,000 (50 - 102,400)
Viewfinder optional Electronic viewfinder (2360k dots)
3.0" LCD – 1040k dots 3.0" LCD – 1040k dots
Tilting touchscreen Swivel touchscreen
4.2 shutter flaps per second 5 shutter flaps per second
250 shots per battery charge250 shots per battery charge
111 x 68 x 44 mm, 366 g 133 x 85 x 70 mm, 485 g
logo
Check M3 offers at
ebay.com
logo
Check RP price at
amazon.com

Going beyond this snapshot of core features and characteristics, what are the differences between the Canon EOS M3 and the Canon EOS RP? Which one should you buy? Read on to find out how these two cameras compare with respect to their body size, their imaging sensors, their shooting features, their input-output connections, and their reception by expert reviewers.

ad

Body comparison

An illustration of the physical size and weight of the Canon M3 and the Canon RP is provided in the side-by-side display below. The two cameras are presented according to their relative size. Three successive views from the front, the top, and the rear are shown. All width, height and depth measures are rounded to the nearest millimeter.

The M3 can be obtained in two different colors (black, white), while the RP is only available in black.

Size Canon M3 vs Canon RP
Compare M3 versus RP top
Comparison M3 or RP rear

If the front view area (width x height) of the cameras is taken as an aggregate measure of their size, the Canon RP is considerably larger (50 percent) than the Canon M3. Moreover, the RP is markedly heavier (33 percent) than the M3. In this context, it is worth noting that neither the M3 nor the RP are weather-sealed.

The above size and weight comparisons are to some extent incomplete since they do not consider the interchangeable lenses that both of these cameras require. Hence, you might want to study and compare the specifications of available lenses in order to get the full picture of the size and weight of the two camera systems.

The power pack in the RP can be charged via the USB port, which can be very convenient when travelling.

The following table provides a synthesis of the main physical specifications of the two cameras and other similar ones. If you would like to visualize and compare a different camera combination, you can navigate to the CAM-parator app and make your selection from a broad list of cameras there.

scroll hint
Body Specifications
  empty Camera
Model
Camera
Width
Camera
Height
Camera
Depth
Camera
Weight
Battery
Life
Weather
Sealing
Camera
Launch
Launch
Price (USD)
Street
Price
1.
 
Canon M3 111 mm 68 mm 44 mm 366 g 250 n Feb 2015 679ebay.com
2.
 
Canon RP 133 mm 85 mm 70 mm 485 g 250 n Feb 2019 1,299 amazon.com
3.
 
Canon G5 X 112 mm 76 mm 44 mm 353 g 210 n Oct 2015 799ebay.com
4.
 
Canon G7 X 103 mm 60 mm 40 mm 304 g 210 n Sep 2014 699ebay.com
5.
 
Canon M 109 mm 66 mm 32 mm 298 g 230 n Jul 2012 599ebay.com
6.
 
Canon M5 116 mm 89 mm 61 mm 427 g 295 n Sep 2016 979ebay.com
7.
 
Canon M6 112 mm 68 mm 45 mm 390 g 295 n Feb 2017 779ebay.com
8.
 
Canon M50 116 mm 88 mm 59 mm 390 g 235 n Feb 2018 779ebay.com
9.
 
Canon M50 Mark II 116 mm 88 mm 59 mm 387 g 305 n Oct 2020 599ebay.com
10.
 
Canon M100 108 mm 67 mm 35 mm 302 g 295 n Aug 2017 499ebay.com
11.
 
Canon R8 133 mm 86 mm 70 mm 461 g 220 n Feb 2023 1,499 amazon.com
12.
 
Canon SL2 122 mm 93 mm 70 mm 453 g 650 n Jun 2017 549ebay.com
13.
 
Canon T6i 132 mm 101 mm 78 mm 555 g 440 n Feb 2015 749ebay.com
14.
 
Canon T6s 132 mm 101 mm 78 mm 565 g 440 n Feb 2015 649ebay.com
15.
 
Sony RX1R 113 mm 65 mm 70 mm 482 g 270 n Jun 2013 2,799ebay.com
Note: Measurements and pricing do not include easily detachable parts, such as add-on or interchangeable lenses or optional viewfinders.

The price is, of course, an important factor in any camera decision. The listed launch prices provide an indication of the market segment that the manufacturer of the cameras have been targeting. The M3 was launched at a markedly lower price (by 48 percent) than the RP, which puts it into a different market segment. Usually, retail prices stay at first close to the launch price, but after several months, discounts become available. Later in the product cycle and, in particular, when the replacement model is about to appear, further discounting and stock clearance sales often push the camera price considerably down.

Sensor comparison

The size of the sensor inside a digital camera is one of the key determinants of image quality. All other things equal, a large sensor will have larger individual pixel-units that offer better low-light sensitivity, wider dynamic range, and richer color-depth than smaller pixels in a sensor of the same technological generation. Moreover, a large sensor camera will give the photographer more control over depth-of-field in the image and, thus, the ability to better isolate a subject from the background. On the downside, larger sensors tend to be associated with larger, more expensive camera bodies and lenses.

Of the two cameras under consideration, the Canon M3 features an APS-C sensor and the Canon RP a full frame sensor. The sensor area in the RP is 160 percent bigger. As a result of these sensor size differences, the cameras have a format factor of, respectively, 1.6 and 1.0. Both cameras have a native aspect ratio (sensor width to sensor height) of 3:2.

Technology-wise, the RP uses a more advanced image processing engine (DIGIC 8) than the M3 (DIGIC 6), with benefits for noise reduction, color accuracy, and processing speed.

Canon M3 and Canon RP sensor measures

With 26MP, the RP offers a higher resolution than the M3 (24MP), but the RP nevertheless has larger individual pixels (pixel pitch of 5.76μm versus 3.72μm for the M3) due to its larger sensor. Moreover, the RP is a much more recent model (by 4 years) than the M3, and its sensor will have benefitted from technological advances during this time that further enhance the light gathering capacity of its pixel-units.

The Canon EOS M3 has a native sensitivity range from ISO 100 to ISO 12800, which can be extended to ISO 100-25600. The corresponding ISO settings for the Canon EOS RP are ISO 100 to ISO 40000, with the possibility to increase the ISO range to 50-102400.

Technology-wise, both cameras are equipped with CMOS (Complementary Metal–Oxide–Semiconductor) sensors. Both cameras use a Bayer filter for capturing RGB colors on a square grid of photosensors. This arrangement is found in most digital cameras.

M3 versus RP MP

Since 2007, DXO Mark has published sensor performance measurements that have been derived using a consistent methodology. This service assesses and scores the color depth ("DXO Portrait"), dynamic range ("DXO Landscape"), and low-light sensitivity ("DXO Sports") of camera sensors, and also publishes an overall camera score. Of the two cameras under consideration, the RP offers substantially better image quality than the M3 (overall score 13 points higher). The advantage is based on 1.5 bits higher color depth, 0.1 EV in additional dynamic range, and 1.3 stops in additional low light sensitivity. The table below summarizes the physical sensor characteristics and sensor quality findings and compares them across a set of similar cameras.

scroll hint
Sensor Characteristics
  empty Camera
Model
Sensor
Class
Resolution
(MP)
Horiz.
Pixels
Vert.
Pixels
Video
Format
DXO
Portrait
DXO
Landscape
DXO
Sports
DXO
Overall
1.
 
Canon M3 APS-C 24.0 6000 40001080/30p22.811.8116972
2.
 
Canon RP Full Frame 26.0 6240 41604K/30p24.311.9297785
3.
 
Canon G5 X 1-inch 20.0 5472 36481080/60p21.412.347162
4.
 
Canon G7 X 1-inch 20.0 5472 36481080/60p23.012.755671
5.
 
Canon M APS-C 17.9 5184 34561080/30p22.111.282765
6.
 
Canon M5 APS-C 24.0 6000 40001080/60p23.412.4126277
7.
 
Canon M6 APS-C 24.0 6000 40001080/60p23.412.6131778
8.
 
Canon M50 APS-C 24.0 6000 40004K/24p23.813.3168481
9.
 
Canon M50 Mark II APS-C 24.0 6000 40004K/24p24.013.6193983
10.
 
Canon M100 APS-C 24.0 6000 40001080/60p23.512.9127278
11.
 
Canon R8 Full Frame 24.0 6000 40004k/60p24.514.7329593
12.
 
Canon SL2 APS-C 24.0 6000 40001080/60p23.613.4104179
13.
 
Canon T6i APS-C 24.0 6000 40001080/30p22.712.091971
14.
 
Canon T6s APS-C 24.0 6000 40001080/30p22.612.091570
15.
 
Sony RX1R Full Frame 24.0 6000 40001080/60p25.013.6253791
Note: DXO values in italics represent estimates based on sensor size and age.

Many modern cameras cannot only take still pictures, but also record videos. Both cameras under consideration have a sensor with sufficiently fast read-out times for moving pictures, but the RP provides a better video resolution than the M3. It can shoot movie footage at 4K/30p, while the M3 is limited to 1080/30p.

ad

Feature comparison

Apart from body and sensor, cameras can and do differ across a range of features. For example, the RP has an electronic viewfinder (2360k dots), which can be very helpful when shooting in bright sunlight. In contrast, the M3 relies on live view and the rear LCD for framing. That said, the M3 can be equipped with an optional viewfinder – the EVF-DC1. The following table reports on some other key feature differences and similarities of the Canon M3, the Canon RP, and comparable cameras.

scroll hint
Core Features
  empty Camera
Model
Viewfinder
(Type or
000 dots)
Control
Panel
(yes/no)
LCD
Specifications
(inch/000 dots)
LCD
Attach-
ment
Touch
Screen
(yes/no)
Max
Shutter
Speed *
Max
Shutter
Flaps *
Built-in
Flash
(yes/no)
Built-in
Image
Stab
1.
 
Canon M3optional n3.0 / 1040 tilting Y 1/4000s 4.2/s Y n
2.
 
Canon RP2360 n3.0 / 1040 swivel Y 1/4000s 5.0/s n n
3.
 
Canon G5 X2360 n3.0 / 1040 swivel Y 1/2000s 5.9/s Y Y
4.
 
Canon G7 Xnone n3.0 / 1040 tilting Y 1/2000s 6.5/s Y Y
5.
 
Canon Mnone n3.0 / 1040 fixed Y 1/4000s 4.3/s n n
6.
 
Canon M52360 n3.2 / 1620 tilting Y 1/4000s 9.0/s Y n
7.
 
Canon M6optional n3.0 / 1040 tilting Y 1/4000s 9.0/s Y n
8.
 
Canon M502360 n3.0 / 1040 swivel Y 1/4000s 10.0/s Y n
9.
 
Canon M50 Mark II2360 n3.0 / 1040 swivel Y 1/4000s 10.0/s Y n
10.
 
Canon M100none n3.0 / 1040 tilting Y 1/4000s 6.1/s Y n
11.
 
Canon R82360 n3.0 / 1620 swivel Y 1/4000s 6.0/s n n
12.
 
Canon SL2optical n3.0 / 1040 swivel Y 1/4000s 5.0/s Y n
13.
 
Canon T6ioptical n3.0 / 1040 swivel Y 1/4000s 5.0/s Y n
14.
 
Canon T6soptical Y3.0 / 1040 swivel Y 1/4000s 5.0/s Y n
15.
 
Sony RX1Roptional n3.0 / 1229 fixed n 1/4000s 5.0/s Y n
Note: *) Information refers to the mechanical shutter, unless the camera only has an electronic one.

One difference between the cameras concerns the presence of an on-board flash. The M3 has one, while the RP does not. While the built-in flash of the M3 is not very powerful, it can at times be useful as a fill-in light.

Both cameras have an articulated rear screen that can be turned to be front-facing. This feature will be particularly appreciated by vloggers and photographers who are interested in taking selfies.

The Canon RP has an intervalometer built-in. This enables the photographer to capture time lapse sequences, such as flower blooming, a sunset or moon rise, without purchasing an external camera trigger and related software.

Concerning the storage of imaging data, both the M3 and the RP write their files to SDXC cards. The RP supports UHS-II cards (Ultra High Speed data transfer of up to 312 MB/s), while the M3 can use UHS-I cards (up to 104 MB/s).

ad

Connectivity comparison

For some imaging applications, the extent to which a camera can communicate with its environment can be an important aspect in the camera decision process. The table below provides an overview of the connectivity of the Canon EOS M3 and Canon EOS RP and, in particular, the interfaces the cameras (and selected comparators) provide for accessory control and data transfer.

scroll hint
Input-Output Connections
  empty Camera
Model
Hotshoe
Port
Internal
Mic / Speaker
Microphone
Port
Headphone
Port
HDMI
Port
USB
Port
WiFi
Support
NFC
Support
Bluetooth
Support
1.
 
Canon M3Ystereo / monoY-mini2.0YY-
2.
 
Canon RPYstereo / monoYYmicro2.0Y-Y
3.
 
Canon G5 XYstereo / mono--mini2.0YY-
4.
 
Canon G7 X-stereo / mono--micro2.0YY-
5.
 
Canon MYstereo / monoY-mini2.0---
6.
 
Canon M5Ystereo / monoY-mini2.0YYY
7.
 
Canon M6Ystereo / monoY-mini2.0YYY
8.
 
Canon M50Ystereo / monoY-micro2.0Y-Y
9.
 
Canon M50 Mark IIYstereo / monoY-micro2.0Y-Y
10.
 
Canon M100-stereo / mono--micro2.0YYY
11.
 
Canon R8Ystereo / monoYYmicro3.2Y-Y
12.
 
Canon SL2Ystereo / monoY-mini2.0YYY
13.
 
Canon T6iYstereo / monoY-mini2.0YY-
14.
 
Canon T6sYstereo / monoY-mini2.0YY-
15.
 
Sony RX1RYstereo / monoY-mini2.0---

It is notable that the RP has a headphone jack, which makes it possible to attach external headphones and monitor the quality of sound during the recording process. The M3 lacks such a headphone port.

The RP is a recent model that features in the current product line-up of Canon. In contrast, the M3 has been discontinued (but can be found pre-owned on ebay). As a replacement in the same line of cameras, the M3 was succeeded by the Canon M6. Further information on the features and operation of the M3 and RP can be found, respectively, in the Canon M3 Manual (free pdf) or the online Canon RP Manual.

ad

Review summary

So what is the bottom line? Is there a clear favorite between the Canon M3 and the Canon RP? Which camera is better? A synthesis of the relative strong points of each of the models is listed below.


Reasons to prefer the Canon EOS M3:

  • More compact: Is smaller (111x68mm vs 133x85mm) and thus needs less room in the bag.
  • Less heavy: Is lighter (by 119g or 25 percent) and hence easier to carry around.
  • Easier fill-in: Is equipped with a small onboard flash to brighten deep shadow areas.
  • Easier device pairing: Supports NFC for fast wireless image transfer over short distances.
  • More affordable: Was introduced into a lower priced category (48 percent cheaper at launch).
  • More heavily discounted: Has been available for much longer (launched in February 2015).


Arguments in favor of the Canon EOS RP:

  • Better image quality: Scores substantially higher (13 points) in the DXO overall evaluation.
  • Richer colors: Generates noticeably more natural colors (1.5 bits more color depth).
  • Better low-light sensitivity: Can shoot in dim conditions (1.3 stops ISO advantage).
  • Better jpgs: Has a more modern image processing engine (DIGIC 8 vs DIGIC 6).
  • Better video: Provides higher definition movie capture (4K/30p vs 1080/30p).
  • Better sound control: Has a headphone port that enables audio monitoring while recording.
  • Easier framing: Has an electronic viewfinder for image composition and settings control.
  • More flexible LCD: Has a swivel screen for odd-angle shots in portrait or landscape orientation.
  • Faster burst: Shoots at higher frequency (5 vs 4.2 flaps/sec) to capture the decisive moment.
  • Easier time-lapse photography: Has an intervalometer built-in for low frequency shooting.
  • Easier travel charging: Can be conveniently charged via its USB port.
  • Easier wireless transfer: Supports Bluetooth for image sharing without cables.
  • Faster buffer clearing: Supports a more advanced SD data transfer standard (UHS-II vs UHS-I).
  • More modern: Reflects 4 years of technical progress since the M3 launch.

If the count of individual advantages (bullet points above) is taken as a guide, the RP is the clear winner of the contest (14 : 6 points). However, the relative importance of the various individual camera aspects will vary according to personal preferences and needs, so that you might like to apply corresponding weights to the particular features before making a decision on a new camera. A professional wedding photographer will view the differences between cameras in a way that diverges from the perspective of a travel photog, and a person interested in cityscapes has distinct needs from a macro shooter. Hence, the decision which camera is best and worth buying is often a very personal one.

M3 06:14 RP

How about other alternatives? Do the specifications of the Canon M3 and the Canon RP place the cameras among the top in their class? Find out in the latest Best Mirrorless Interchangeable Lens Camera listing whether the two cameras rank among the cream of the crop.

In any case, while the specs-based evaluation of cameras can be instructive in revealing their potential as photographic tools, it says little about, for example, the shooting experience and imaging performance of the M3 and the RP in practical situations. User reviews that are available, for instance, at amazon can sometimes shed light on these issues, but such feedback is all too often partial, inconsistent, and inaccurate.

Expert reviews

This is where reviews by experts come in. The table below provides a synthesis of the camera assessments of some of the best known photo-gear review sites (amateurphotographer [AP], cameralabs [CL], digitalcameraworld [DCW], dpreview [DPR], ephotozine [EPZ], photographyblog [PB]). As can be seen, the professional reviewers agree in many cases on the quality of different cameras, but sometimes their assessments diverge, reinforcing the earlier point that a camera decision is often a very personal choice.

scroll hint
Expert Camera Reviews
  empty  Camera 
 Model 
 AP 
 score 
 CL 
 score 
 DCW 
 score 
 DPR 
 score 
 EPZ 
 score 
 PB 
 score 
Camera
Launch
Launch
Price (USD)
Street
Price
1.
 
Canon M34/5o..75/1004.5/54/5 Feb 2015 679ebay.com
2.
 
Canon RP4/5+4/5..4.5/54/5 Feb 2019 1,299 amazon.com
3.
 
Canon G5 X5/5+ +..78/1004.5/54.5/5 Oct 2015 799ebay.com
4.
 
Canon G7 X4/5+ +..77/1004.5/54.5/5 Sep 2014 699ebay.com
5.
 
Canon M3/5+....4/54/5 Jul 2012 599ebay.com
6.
 
Canon M54/5+4/582/1004/54/5 Sep 2016 979ebay.com
7.
 
Canon M6......80/1004/54/5 Feb 2017 779ebay.com
8.
 
Canon M50..+4/579/100..3.5/5 Feb 2018 779ebay.com
9.
 
Canon M50 Mark II4/5..4/5..4.5/53.5/5 Oct 2020 599ebay.com
10.
 
Canon M1003/5+....4/53.5/5 Aug 2017 499ebay.com
11.
 
Canon R84.5/5+ +4.5/587/1004/54.5/5 Feb 2023 1,499 amazon.com
12.
 
Canon SL24/5+ +4/578/1004.5/54.5/5 Jun 2017 549ebay.com
13.
 
Canon T6i5/5....75/1004.5/54.5/5 Feb 2015 749ebay.com
14.
 
Canon T6s5/5+..77/1004.5/54.5/5 Feb 2015 649ebay.com
15.
 
Sony RX1R5/5......4/54.5/5 Jun 2013 2,799ebay.com
Note: (+ +) highly recommended; (+) recommended; (o) reviewed; (..) not available.

Care should be taken when interpreting the review scores above, though. The ratings are only valid when referring to cameras in the same category and of the same age. Thus, a score needs to be put into the context of the launch date and the launch price of the camera, and comparisons of ratings among very different cameras or across long time periods have little meaning. Also, please note that some of the review sites have changed their methodology and reporting over time.

logo
Check M3 offers at
ebay.com
logo
Check RP price at
amazon.com

Other camera comparisons

Did this review help to inform your camera decision process? In case you would like to check on the differences and similarities of other camera models, just make your choice using the following search menu. Alternatively, you can follow any of the listed hyperlinks for comparisons that others found interesting.

~
    loader
    ad

    Specifications: Canon M3 vs Canon RP

    Below is a side-by-side comparison of the specs of the two cameras to facilitate a quick review of their differences and common features.

    Camera Specifications
    Camera Model Canon M3 Canon RP
    Camera Type Mirrorless system camera Mirrorless system camera
    Camera Lens Canon EF-M mount lenses Canon RF mount lenses
    Launch Date February 2015 February 2019
    Launch Price USD 679 USD 1,299
    Sensor Specs Canon M3 Canon RP
    Sensor Technology CMOS CMOS
    Sensor Format APS-C Sensor Full Frame Sensor
    Sensor Size 22.3 x 14.9 mm 35.9 x 24.0 mm
    Sensor Area 332.27 mm2 861.6 mm2
    Sensor Diagonal 26.8 mm 43.2 mm
    Crop Factor 1.6x 1.0x
    Sensor Resolution 24 Megapixels 26 Megapixels
    Image Resolution 6000 x 4000 pixels 6240 x 4160 pixels
    Pixel Pitch 3.72 μm 5.76 μm
    Pixel Density 7.22 MP/cm2 3.01 MP/cm2
    Moiré control Anti-Alias filter Anti-Alias filter
    Movie Capability 1080/30p Video 4K/30p Video
    ISO Setting 100 - 12,800 ISO 100 - 40,000 ISO
    ISO Boost 100 - 25,600 ISO 50 - 102,400 ISO
    Image Processor DIGIC 6 DIGIC 8
    DXO Sensor Quality (score) 72 85
    DXO Color Depth (bits) 22.8 24.3
    DXO Dynamic Range (EV) 11.8 11.9
    DXO Low Light (ISO) 1169 2977
    Screen Specs Canon M3 Canon RP
    Viewfinder Type Viewfinder optional Electronic viewfinder
    Viewfinder Field of View 100%
    Viewfinder Magnification 0.70x
    Viewfinder Resolution 2360k dots
    LCD Framing Live View Live View
    Rear LCD Size 3.0inch 3.0inch
    LCD Resolution 1040k dots 1040k dots
    LCD Attachment Tilting screen Swivel screen
    Touch Input Touchscreen Touchscreen
    Shooting Specs Canon M3 Canon RP
    Focus System On-Sensor Phase-detect On-Sensor Phase-detect
    Manual Focusing AidFocus Peakingno Peaking Feature
    Continuous Shooting 4.2 shutter flaps/s 5 shutter flaps/s
    Shutter Life Expectancy100 000 actuations100 000 actuations
    Time-Lapse Photographyno IntervalometerIntervalometer built-in
    Fill Flash Built-in Flash no On-Board Flash
    Storage Medium SDXC cards SDXC cards
    Single or Dual Card Slots Single card slot Single card slot
    UHS card support UHS-I UHS-II
    Connectivity Specs Canon M3 Canon RP
    External Flash Hotshoe Hotshoe
    USB Connector USB 2.0 USB 2.0
    HDMI Port mini HDMI micro HDMI
    Microphone Port External MIC port External MIC port
    Headphone Socket no Headphone port Headphone port
    Wifi Support Wifi built-in Wifi built-in
    Near-Field Communication NFC built-in no NFC
    Bluetooth Support no Bluetooth Bluetooth built-in
    Body Specs Canon M3 Canon RP
    Battery Type Canon LP-E17 Canon LP-E17
    Battery Life (CIPA)250 shots per charge250 shots per charge
    In-Camera Charging no USB charging USB charging
    Body Dimensions 111 x 68 x 44 mm
    (4.4 x 2.7 x 1.7 in)
    133 x 85 x 70 mm
    (5.2 x 3.3 x 2.8 in)
    Camera Weight 366 g (12.9 oz) 485 g (17.1 oz)
    logo
    Check M3 offers at
    ebay.com
    logo
    Check RP price at
    amazon.com

    Did you notice an error on this page? If so, please get in touch, so that we can correct the information.

    You are here Home  »  CAM-parator  »  Canon M3 vs Canon RP