Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I add a custom font size for a Google Spreadsheet I have? There are some defaults like 14pt, 18pt, 24pt and 36pt, but I would like to have a font size like 30pt, is it possible?

share|improve this question
up vote 1 down vote accepted

There's no way to do that in Google Spreadsheets, only the font sizes you already mentioned. There is however the possibility to do that via Google Apps Script. The following piece of code will create a menu option (upon opening):

function onOpen() {
  // get active spreadsheet
  var ss = SpreadsheetApp.getActiveSpreadsheet();

  // create menu
  var menu = [{name: "Set font size", functionName: "fontSize"}];

  // add to menu
  ss.addMenu("Font", menu);  

function fontSize() {
  // set active spreadsheet
  var ss = SpreadsheetApp.getActiveSpreadsheet();

  // set active sheet
  var sh = ss.getActiveSheet();

  // create input box
  var fontSize = Browser.inputBox("Set Font Size:");

  // get active cell and apply font size  
  var cell = sh.getActiveCell().setFontSize(parseInt(fontSize));  

You can create your own script but adding this one to your own sheet:
enter image description here

In the example file I created, you can play with it: fontSize

share|improve this answer
Is it possible to have a script that allows a custom input box for the font size? – Jeremy Jan 6 '13 at 13:55
That's not what your question was about. I will look into it. – Jacob Jan Tuinstra Jan 6 '13 at 13:57
@Jeremy Did it, now it's the users choice. – Jacob Jan Tuinstra Jan 6 '13 at 14:05
Great, thank you very much! It works like a charm :) – Jeremy Jan 6 '13 at 14:12

You can change the font-size in a Google Spreadsheet from 6 pt all the way up to 400 pt, just by typing in the size you want. When you click on the "Font size" icon drop-down you will notice the current size in the "input box" is highlighted in blue, you can type in that box the size you want and press Enter. A lot of programs has this feature but a lot of people just thought the sizes given were the default but they are not. The only thing in Google Sheets to remember is you can't go lower than 6pt or higher than 400pt. Watch video below...


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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