11

I have to convert text format pt to px any Document setting or by how can i change pt to px format for the textChane pt to px

5
  • You can change this unit from settings, or just type XX px
    – joojaa
    May 8, 2015 at 6:28
  • 2
    In Adobe software, 1 pixel is equal to 1 point. For text sizes, there's no need to change it.
    – Scott
    May 8, 2015 at 6:56
  • 2
    Hum... The pt -> px size is resolution-dependent. A 6 pt text at 72 ppi is smaller than a 6 pt text at 300 ppi in pixel size.
    – Rafael
    May 14, 2015 at 14:29
  • Not really. 6pt is 6pt. The print size of varying ppi documents is different, but the type sizes aren't. See Here.
    – Scott
    May 14, 2015 at 14:47
  • 2
    @SOIA. That is not true on the web. 6pt is like 60% larger than 6px. See for yourself: jsfiddle.net/p2ptw084
    – Justin
    Dec 10, 2015 at 17:54

5 Answers 5

27

Go to Edit > Preference > Unit & Rulers and change type points to pixels

0
1

You also can right click into text input and select unit. This is good if you want change value only for one property and keep units in other fields.

Or you can simply rewrite "pt" to "px"

Fastest way to unit settings is doubleclick on ruler.

enter image description here

1

It's an old question and it is true it has been answered. However, I have been referred here from a search engine and I thought I would answer the question mathematically.


As far as I know, the following is true:

1 pt ≡ 1/72.27 in
1 px ≡ 1/D in.

I denote D for density. This is usually equal to 72 ppi (pixels per inch).

Equivalently, we have

72.27 pt ≡ 1 in
D px ≡ 1 in

Hence 72.27 pt = D px, which helps to work out conversion factors. For instance to convert px to pt, I'd use the following formulae:

Y (pt) = X (px) × 72.27/D (pt/px).

Similarly, to convert pt to px, I'd use the following:

Y (px) = X (pt) × D/72.27 (px/pt).

Since D is usually equal to 72 and 72.27 is rounded to 72, the conversion from pt to px is simply 1 to 1. This is what Photoshop does. However, D might be different, s.a. 96, 150, 256, or 300.

As an example, if D is 300 ppi and I wanted to convert 14 pt to px, I'd have the following:

300/72 × 14 = 58.3 px

The conversion is no longer 1 to 1 because now 1 pt takes approximately 4.16 px.

If Ityped 58.3px in Photoshop when ppi is set to 300, I would get something very close to 14pt.

1
  • 1
    This is actually a great point. Px values are relative to the density and pt are absolute for physical measures. If people do not realize this a humungous text in px at 300PPI will surprise them compared to a 72PPI. I would probably round 72pt to 1 in for easier remembering.
    – Rafael
    May 4 at 15:02
-2

First Open Photoshop,enter image description here Go to Edit Menu > scroll down click Preference > Unit & Rulers and change type points to pixels

enter image description here

1
  • 1
    This was already answered four years ago with the exact same answer you gave. Please don't necro-bump posts with duplicate answers.
    – ale19
    Oct 15, 2019 at 16:56
-3

Here's a great pt to px converter. http://pttopx.com/

1 px = 0.75 point; 1 point = 1.333333 px

2
  • 1
    Please explain you link-only-answer better! Suppose the given link is broken your given answer now is useless. Add a solution by your own words, then the link can be a reference ...
    – Mensch
    Apr 25, 2016 at 23:05
  • 1
    1 pt = 1/72 inches. Size of 1 px depends on what your document PPI is set to. And this boys and girls is why we set documents that are meant for digital only consumption to 72 PPI ad then we get one pixel = 1 point which is convenient due to the underlying math engine.
    – joojaa
    Apr 28, 2016 at 18:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.